1// Migration to add theme column to users table
2const pool = require('../../backend/services/db');
6 console.log('Running backend migration: add theme column to users');
7 const sql = "ALTER TABLE users ADD COLUMN IF NOT EXISTS theme VARCHAR(50);";
9 console.log('Migration applied successfully');
11 console.error('Migration failed:', err);
14 try { await pool.end(); } catch(e){}