chore: update package licences and migration script

This commit is contained in:
Henry
2025-05-29 23:18:25 +01:00
parent 9d467529e1
commit 14f55e5939
18 changed files with 37 additions and 64 deletions

View File

@@ -5,17 +5,10 @@ export default {
out: "./migrations",
dialect: "postgresql",
dbCredentials: {
host: process.env.POSTGRES_HOST ?? "localhost",
port: process.env.POSTGRES_PORT
? parseInt(process.env.POSTGRES_PORT)
: 5432,
user: process.env.POSTGRES_USER,
password: process.env.POSTGRES_PASSWORD,
database: process.env.POSTGRES_DATABASE ?? "postgres",
ssl: true,
url: process.env.POSTGRES_URL ?? "",
ssl: process.env.NODE_ENV === "production" ? true : false,
},
migrations: {
prefix: "timestamp",
},
// tablesFilter: ["kan_*"],
} satisfies Config;