#!/usr/bin/env node /** * Database migration script. * For this SQLite project, schema creation is idempotent and happens on handler load. * This script ensures the schema is initialized by importing the handler. */ import('../build/handler.js') .then(() => { console.log('✓ Database schema initialized'); process.exit(0); }) .catch((err) => { console.error('✗ Failed to initialize database:', err.message); process.exit(1); });