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");
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