docs(db): add introspect-only drizzle config and DB README
This commit is contained in:
1 parent
d04ed42586
commit
2a304c94a4
2 files changed
+36
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import { defineConfig } from "drizzle-kit";
|
||||
|
||||
// INTROSPECT-ONLY. We never generate or push migrations against this database —
|
||||
// it is owned and written live by the game emulator. Use only `drizzle-kit pull`.
|
||||
export default defineConfig({
|
||||
dialect: "mysql",
|
||||
schema: "./src/schema/index.ts",
|
||||
out: "./drizzle", // where `pull` writes the introspected schema snapshot
|
||||
dbCredentials: {
|
||||
url: process.env.DATABASE_URL ?? "",
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user