feat: schéma Drizzle/SQLite (machines, snapshots, executions)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 20:58:50 +02:00
parent feb136ffc1
commit 5aa4acdf87
7 changed files with 396 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
// server/db/migrate.ts
import { migrate } from "drizzle-orm/better-sqlite3/migrator";
import { db } from "./client.js";
export function runMigrations(): void {
migrate(db, { migrationsFolder: "./server/db/migrations" });
}