chore: add initial migration and seed script
Made-with: Cursor
This commit is contained in:
@@ -4,7 +4,7 @@ import { defineConfig } from 'drizzle-kit';
|
||||
const databaseUrl = process.env.DATABASE_URL ?? 'postgresql://samreshu:samreshu_dev@localhost:5432/samreshu';
|
||||
|
||||
export default defineConfig({
|
||||
schema: './src/db/schema/index.ts',
|
||||
schema: './src/db/schema/*.ts',
|
||||
out: './src/db/migrations',
|
||||
dialect: 'postgresql',
|
||||
dbCredentials: {
|
||||
|
||||
Reference in New Issue
Block a user