feat: add initial server setup
This commit is contained in:
parent
b7a64260e8
commit
dcf9ab4deb
10 changed files with 259 additions and 20 deletions
11
server/drizzle.config.ts
Normal file
11
server/drizzle.config.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import 'dotenv/config'
|
||||
import { defineConfig } from 'drizzle-kit'
|
||||
|
||||
export default defineConfig({
|
||||
out: './src/db/drizzle',
|
||||
schema: './src/db/schema.ts',
|
||||
dialect: 'sqlite',
|
||||
dbCredentials: {
|
||||
url: process.env.DB_FILE_NAME!,
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue