사용자 관련 DB 스키마 생성

This commit is contained in:
static
2024-12-26 16:01:14 +09:00
parent 07252126ec
commit d83dc6b8d2
7 changed files with 40 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ 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",
schema: "./src/lib/server/db/schema",
dbCredentials: {
url: process.env.DATABASE_URL,