feat: db init

This commit is contained in:
afiqzudinhadi 2025-06-28 17:21:09 +08:00
parent 0b1cbef59e
commit a6fc74e851
23 changed files with 1536 additions and 5553 deletions

View file

@ -0,0 +1,15 @@
import { defineConfig } from "drizzle-kit";
export default defineConfig({
schema: "./src/schema",
out: "./supabase/migrations",
dialect: "postgresql",
entities: {
roles: {
provider: "supabase",
},
},
dbCredentials: {
url: process.env.DATABASE_URL!,
},
});