first
This commit is contained in:
commit
0738070ce1
287 changed files with 10116 additions and 0 deletions
18
drizzle.config.js
Normal file
18
drizzle.config.js
Normal file
|
@ -0,0 +1,18 @@
|
|||
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.js",
|
||||
|
||||
dbCredentials: {
|
||||
url: process.env.DATABASE_URL,
|
||||
},
|
||||
|
||||
verbose: true,
|
||||
strict: true,
|
||||
dialect: "postgresql",
|
||||
casing: "snake_case",
|
||||
migrations: {
|
||||
prefix: "timestamp",
|
||||
},
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue