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
@@ -5,6 +5,7 @@ import mysql from "mysql2";
import type { Database } from "../..";
import { env } from "../../env";
import * as mysqlSchema from "../../schema/mysql";
import { applyCustomMigrationsAsync } from "../custom";
import { seedDataAsync } from "../seed";
const migrationsFolder = process.argv[2] ?? ".";
@@ -30,6 +31,7 @@ const migrateAsync = async () => {
await migrate(db, { migrationsFolder });
await seedDataAsync(db as unknown as Database);
await applyCustomMigrationsAsync(db as unknown as Database);
};
migrateAsync()