You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
436 B
TypeScript
17 lines
436 B
TypeScript
import "dotenv/config";
|
|
import { defineConfig } from "drizzle-kit";
|
|
|
|
// Introspection only: never run generate/migrate/push with this config.
|
|
// The PHP app still owns the schema; cleo_next has no DDL rights anyway.
|
|
export default defineConfig({
|
|
dialect: "mysql",
|
|
schema: "./db/amigo/schema.ts",
|
|
out: "./db/amigo",
|
|
dbCredentials: {
|
|
url: process.env.AMIGO_DATABASE_URL!,
|
|
},
|
|
introspect: {
|
|
casing: "preserve",
|
|
},
|
|
});
|