import { query } from '../src/db.js';
import fs from 'fs';
import path from 'path';
const sql = fs.readFileSync(path.join(process.cwd(), 'sql', 'schema.sql'), 'utf-8');
await query(sql);
console.log('✅ DB schema applied');
process.exit(0);
