51f95e0fd6
Part of GRO-802 monorepo breakdown. Changes: - Extract apps/api/ as the main API service - Inline packages/db/ (database schema, migrations, utilities) - Inline packages/types/ (shared TypeScript types) - Add CI workflow for lint, typecheck, test, build, docker - Port Dockerfile with 4 stages: runner, migrate, seed, reset Co-Authored-By: Paperclip <noreply@paperclip.ing>
11 lines
216 B
TypeScript
11 lines
216 B
TypeScript
import { defineConfig } from "drizzle-kit";
|
|
|
|
export default defineConfig({
|
|
schema: "./src/schema.ts",
|
|
out: "./migrations",
|
|
dialect: "postgresql",
|
|
dbCredentials: {
|
|
url: process.env.DATABASE_URL!,
|
|
},
|
|
});
|