Add gemini_api_key column migration to migrate.ts

This commit is contained in:
Michael committed 2026-05-19 12:25:14 +02:00
1 parent 72b13b3e42
commit a2c2753b0b
1 file changed
+6
+6
View File
@@ -152,6 +152,12 @@ export async function migrate() {
);
`);
// app_config.gemini_api_key
await client.query(`
ALTER TABLE "app_config"
ADD COLUMN IF NOT EXISTS "gemini_api_key" text;
`);
console.log("[Migration] Safe migration completed.");
} catch (error) {
console.error("[Migration] Error during migration:", error);