You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
will create SQL to migrate that will throw error during migration ALTER TABLE "account" ADD CONSTRAINT compound_pk PRIMARY KEY(provider,providerAccountId);
Expected behavior
Should have quotes around "camelCase" field ALTER TABLE "account" ADD CONSTRAINT compound_pk PRIMARY KEY(provider,"providerAccountId");
Environment & setup
No response
The text was updated successfully, but these errors were encountered:
What version of
drizzle-orm
are you using?0.31.2
What version of
drizzle-kit
are you using?0.22.7
Describe the Bug
Same issue as #2423 when creating compound primary key with camelCase in one of columns name
will create SQL to migrate that will throw error during migration
ALTER TABLE "account" ADD CONSTRAINT compound_pk PRIMARY KEY(provider,providerAccountId);
Expected behavior
Should have quotes around "camelCase" field
ALTER TABLE "account" ADD CONSTRAINT compound_pk PRIMARY KEY(provider,"providerAccountId");
Environment & setup
No response
The text was updated successfully, but these errors were encountered: