reboot alterflixhub
This commit is contained in:
commit
1e84023a44
188 files changed
+31629
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import "dotenv/config";
|
||||
import { createDrizzleConfig } from "@agent-native/core/db/drizzle-config";
|
||||
|
||||
export default createDrizzleConfig({
|
||||
schema: "./drizzle/schema.ts",
|
||||
out: "./drizzle/migrations",
|
||||
dialect: "postgresql",
|
||||
url:
|
||||
// config-ok: drizzle-kit loads this file outside the app runtime, and
|
||||
// migrations need the host's direct (unpooled) connection.
|
||||
process.env.DATABASE_URL_UNPOOLED ||
|
||||
// config-ok: Netlify DB's name for the same direct connection.
|
||||
process.env.NETLIFY_DATABASE_URL_UNPOOLED,
|
||||
});
|
||||
Reference in new issue
Block a user