Migrate Synapsis to embedded Turso
CI / smoke (push) Has been cancelled

This commit is contained in:
2026-07-14 15:50:12 -07:00
parent b4a9d82d05
commit 60f7dba46c
184 changed files with 8375 additions and 53945 deletions
+17
View File
@@ -0,0 +1,17 @@
import { migrate } from 'drizzle-orm/tursodatabase/migrator';
import { db } from '../src/db';
async function main() {
const result = await migrate(db, { migrationsFolder: './drizzle' });
if (result) {
throw new Error(`Database migration failed: ${JSON.stringify(result)}`);
}
console.log('Database migrations are up to date.');
}
main().catch((error) => {
console.error(error);
process.exit(1);
});