poc: widget options migration

This commit is contained in:
Meier Lukas committed 2025-06-24 22:38:36 +02:00
1 parent 177fa88998
commit 1a0ae504ab
6 files changed
+87 -2

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ import { migrate } from "drizzle-orm/better-sqlite3/migrator";
import { env } from "../../env";
import * as sqliteSchema from "../../schema/sqlite";
import { applyCustomMigrationsAsync } from "../custom";
import { seedDataAsync } from "../seed";
const migrationsFolder = process.argv[2] ?? ".";
@@ -16,6 +17,7 @@ const migrateAsync = async () => {
migrate(db, { migrationsFolder });
await seedDataAsync(db);
await applyCustomMigrationsAsync(db);
};
migrateAsync()