Change back to lokowitz db method

This commit is contained in:
Owen 2026-02-12 12:13:13 -08:00
parent bc7bc8da66
commit a409ec269b
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
9 changed files with 17 additions and 19 deletions

View file

@ -4,7 +4,7 @@ import path from "path";
const migrationsFolder = path.join("server/migrations");
const runMigrations = async () => {
export const runMigrations = async () => {
console.log("Running migrations...");
try {
migrate(db as any, {
@ -16,5 +16,3 @@ const runMigrations = async () => {
process.exit(1);
}
};
runMigrations();