DB-Skript Update

This commit is contained in:
root
2025-11-06 19:32:50 +00:00
parent d88edcd6ef
commit fc778da204
10 changed files with 957 additions and 1017 deletions
+14
View File
@@ -0,0 +1,14 @@
import { ensureDatabaseSchema } from './schemaEnsure.js';
const run = async () => {
try {
ensureDatabaseSchema();
console.log('✅ Datenbankschema abgeglichen.');
process.exit(0);
} catch (error) {
console.error('⚠️ Schema-Abgleich fehlgeschlagen:', error);
process.exit(1);
}
};
run();