12 lines
271 B
JavaScript
12 lines
271 B
JavaScript
import { ensureSchema } from './index.js';
|
|
|
|
ensureSchema()
|
|
.then(() => {
|
|
console.log('✅ Datenbankschema abgeglichen.');
|
|
process.exit(0);
|
|
})
|
|
.catch((error) => {
|
|
console.error('⚠️ Schema-Abgleich fehlgeschlagen:', error);
|
|
process.exit(1);
|
|
});
|