Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

top-level casing missing from Kit configuration #399

Open
hyunbinseo opened this issue Oct 8, 2024 · 0 comments
Open

top-level casing missing from Kit configuration #399

hyunbinseo opened this issue Oct 8, 2024 · 0 comments

Comments

@hyunbinseo
Copy link
Contributor

Casing was added in [email protected]

import { defineConfig } from "drizzle-kit";

export default defineConfig({
  dialect: "postgresql",
  schema: "./schema.ts",
  dbCredentials: {
    url: "postgresql://postgres:password@localhost:5432/db",
  },
  casing: "snake_case", // NEW!
});

But is not mentioned in the configuration docs.

It is only mentioned in the introspect section:

import { defineConfig } from "drizzle-kit";

export default defineConfig({
  introspect: {
    casing: "camel",
  },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant