Améliorations diverses
This commit is contained in:
@@ -1960,6 +1960,10 @@ console.log('[DB] Migrations 2FA OK');
|
||||
db.exec("ALTER TABLE smtp_config ADD COLUMN min_password_length INTEGER NOT NULL DEFAULT 8");
|
||||
console.log('[DB] Colonne smtp_config.min_password_length ajoutée');
|
||||
}
|
||||
if (!cols.includes('mcp_url')) {
|
||||
db.exec("ALTER TABLE smtp_config ADD COLUMN mcp_url TEXT NOT NULL DEFAULT ''");
|
||||
console.log('[DB] Colonne smtp_config.mcp_url ajoutée');
|
||||
}
|
||||
|
||||
// ── Migration : email sur investisseurs ───────────────────────────────
|
||||
const invColsEmail = db.prepare('PRAGMA table_info(investisseurs)').all().map(c => c.name);
|
||||
|
||||
Reference in New Issue
Block a user