15 lines
400 B
TypeScript
15 lines
400 B
TypeScript
import type { Config } from "drizzle-kit";
|
|
|
|
// This configuration is optional at the moment (no migrations run here),
|
|
// but kept for future schema generation if needed.
|
|
|
|
export default {
|
|
schema: "./src/server/schema/**/*.ts",
|
|
out: "./drizzle",
|
|
dialect: "mysql",
|
|
dbCredentials: {
|
|
// Read from env at runtime when using drizzle-kit
|
|
url: process.env.ZXDB_URL!,
|
|
},
|
|
} satisfies Config;
|