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

dialect param config error message is wrong #392

Open
ceo0x opened this issue May 9, 2024 · 1 comment
Open

dialect param config error message is wrong #392

ceo0x opened this issue May 9, 2024 · 1 comment

Comments

@ceo0x
Copy link

ceo0x commented May 9, 2024

drizzle-kit: v0.21.0
drizzle-orm: v0.30.10

No config path provided, using default path
Reading config file '/Users/macuser/Projects/gitscan/drizzle.config.ts'
 Invalid input  Please specify 'dialect' param in config, either of 'pg', 'mysql' or 'sqlite'

Im getting 'pg' as recommendation for the dialect param but dialect accepts the following params : postgresql,mysql,sqlite

/drizzle-kit/index.d.mts

declare const dialect: zod.ZodEnum<["postgresql", "mysql", "sqlite"]>;
type Dialect = TypeOf<typeof dialect>;
@nalin-singh
Copy link

nalin-singh commented May 10, 2024

Yes, and an add-on to that for anyone who runs into this issue. I had to remove the drizzle-kit package then re-install it to even see the new dialect thing popup as earlier with v20 it didn't had dialect.

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

2 participants