mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
Finish full migration to Drizzle
This commit is contained in:
parent
0ca77e9dcc
commit
b1ee6e5684
7 changed files with 5 additions and 43 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// import { config } from "config-manager";
|
||||
import { config } from "config-manager";
|
||||
import type { Config } from "drizzle-kit";
|
||||
|
||||
export default {
|
||||
|
|
@ -6,19 +6,12 @@ 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue