chore: migrate to postgres

This commit is contained in:
Henry
2024-03-27 20:59:51 +00:00
parent ac3fff47c7
commit 09cd6529fc
35 changed files with 1270 additions and 9723 deletions

View File

@@ -5,9 +5,9 @@ import { env } from "~/env.mjs";
export default {
schema: "./src/server/db/schema.ts",
out: "./src/server/db/migrations",
driver: "mysql2",
driver: "pg",
dbCredentials: {
connectionString: env.DATABASE_URL,
connectionString: env.POSTGRES_URL,
},
tablesFilter: ["kan_*"],
// tablesFilter: ["kan_*"],
} satisfies Config;