const Database = require('C:/Users/fchin/Documents/AfricaAlert/africa-alert-pwa/.worktrees/fix-p1-migrations/server/node_modules/better-sqlite3');
const db = new Database('C:/Users/fchin/Documents/AfricaAlert/africa-alert-pwa/.worktrees/fix-p1-migrations/server/data/school.db');
const tables = db.prepare("SELECT name FROM sqlite_master WHERE type='table' ORDER BY name").all().map(r => r.name);
console.log('Total tables:', tables.length);
console.log('Sample:', tables.slice(0, 10).join(', '));
console.log('---');
console.log('demo users:', db.prepare("SELECT email, role FROM users WHERE email LIKE '%@school.com'").all());
