add core backend modules including database initialization, authentication, AI service, and database viewer
This commit is contained in:
+2
-1
@@ -4,7 +4,8 @@ async function run() {
|
||||
try {
|
||||
await pool.query("ALTER TABLE users ADD COLUMN IF NOT EXISTS email VARCHAR(255)");
|
||||
await pool.query("ALTER TABLE users ADD COLUMN IF NOT EXISTS phone_number VARCHAR(50)");
|
||||
console.log("Added email and phone_number columns to users table");
|
||||
await pool.query("ALTER TABLE users ADD COLUMN IF NOT EXISTS hospital_id VARCHAR(50) DEFAULT '1'");
|
||||
console.log("Added email, phone_number, and hospital_id columns to users table");
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user