chore: add initial migration and seed script

Made-with: Cursor
This commit is contained in:
Anton
2026-03-04 13:57:10 +03:00
parent c7c9982234
commit 41b4f48a0f
6 changed files with 1539 additions and 2 deletions

View File

@@ -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: {