Initial commit
This commit is contained in:
commit
e0b483f344
26 changed files with 5514 additions and 0 deletions
11
drizzle.config.ts
Normal file
11
drizzle.config.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { defineConfig } from 'drizzle-kit';
|
||||
|
||||
if (!process.env.DATABASE_URL) throw new Error('DATABASE_URL is not set');
|
||||
|
||||
export default defineConfig({
|
||||
schema: './src/lib/server/db/schema.ts',
|
||||
dbCredentials: { url: process.env.DATABASE_URL },
|
||||
verbose: true,
|
||||
strict: true,
|
||||
dialect: 'sqlite'
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue