keep original presentation name
All checks were successful
Build & Push Docker Image / build (push) Successful in 6m0s

This commit is contained in:
2026-02-27 16:51:17 +01:00
parent ab52ca4529
commit 4d0756d864
3 changed files with 16 additions and 4 deletions

View File

@@ -354,6 +354,9 @@ export async function initDatabase() {
if (!(await db.columnExists('rooms', 'presentation_file'))) {
await db.exec('ALTER TABLE rooms ADD COLUMN presentation_file TEXT DEFAULT NULL');
}
if (!(await db.columnExists('rooms', 'presentation_name'))) {
await db.exec('ALTER TABLE rooms ADD COLUMN presentation_name TEXT DEFAULT NULL');
}
// ── Default admin ───────────────────────────────────────────────────────
const adminEmail = process.env.ADMIN_EMAIL || 'admin@example.com';