mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-09 21:44:51 +02:00
clean up environment and paths
This commit is contained in:
parent
327175a799
commit
db76769fb7
7 changed files with 16 additions and 25 deletions
|
@ -2,9 +2,7 @@ import { migrate } from "drizzle-orm/better-sqlite3/migrator";
|
|||
import db from "@server/db";
|
||||
import path from "path";
|
||||
|
||||
const migrationsFolder = path.join(__dirname, "../server/migrations");
|
||||
console.log(migrationsFolder);
|
||||
|
||||
const migrationsFolder = path.join("server/migrations");
|
||||
|
||||
const runMigrations = async () => {
|
||||
console.log("Running migrations...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue