mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 01:07:01 +00:00
init db and drizzle
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from "drizzle-kit";
|
||||
|
||||
export default defineConfig({
|
||||
schema: "./src/db/schema.ts",
|
||||
out: "./src/db/migrations",
|
||||
dialect: "postgresql",
|
||||
dbCredentials: {
|
||||
host: process.env.DATABASE_HOST as string,
|
||||
user: process.env.DATABASE_USER as string,
|
||||
password: process.env.DATABASE_PASSWORD as string,
|
||||
database: process.env.DATABASE_NAME as string,
|
||||
},
|
||||
verbose: true,
|
||||
strict: true,
|
||||
});
|
||||
Reference in New Issue
Block a user