- update drizzle config
This commit is contained in:
parent
7e9f7b5481
commit
e0cf55d8ed
1 changed files with 6 additions and 2 deletions
|
@ -3,8 +3,12 @@ import { defineConfig } from 'drizzle-kit';
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
out: './drizzle',
|
out: './drizzle',
|
||||||
schema: './src/db/schema.ts',
|
schema: './src/db/schema.ts',
|
||||||
dialect: 'sqlite',
|
dialect: 'mysql',
|
||||||
dbCredentials: {
|
dbCredentials: {
|
||||||
url: 'file:db.sqlite',
|
host: "localhost",
|
||||||
|
port: 3306,
|
||||||
|
user: "root",
|
||||||
|
password: process.env.MARIADB_ROOT_PASSWORD,
|
||||||
|
database: "three60",
|
||||||
},
|
},
|
||||||
});
|
});
|
Loading…
Add table
Reference in a new issue