Clean up database with new schema

This commit is contained in:
Jesse Wierzbinski 2024-04-13 15:21:38 -10:00
parent a65249b79d
commit 0ca77e9dcc
No known key found for this signature in database
24 changed files with 10174 additions and 127 deletions

View file

@ -1,4 +1,4 @@
import { config } from "config-manager";
// import { config } from "config-manager";
import type { Config } from "drizzle-kit";
export default {
@ -6,12 +6,19 @@ export default {
out: "./drizzle",
schema: "./drizzle/schema.ts",
dbCredentials: {
host: "localhost",
port: 40003,
user: "lysand",
password: "lysand",
database: "lysand",
},
/* dbCredentials: {
host: config.database.host,
port: Number(config.database.port),
user: config.database.username,
password: config.database.password,
database: config.database.database,
},
}, */
// Print all statements
verbose: true,
// Always ask for confirmation