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
I create a table called "myTest1" (contains uppercase "T").
The following migration is generated by drizzle-kit in a file called "0000_zippy_rage.sql":
These are the steps to recreate the issues:
I create a table called "myTest1" (contains uppercase "T").
The following migration is generated by drizzle-kit in a file called "0000_zippy_rage.sql":
Running migrate on this works perfectly.
Next I change the name in my schema to "myTest2" and select create table instead of rename table:
The following migration is generated in a file called "0001_wandering_tana_nile.sql":
Note how the command
DROP TABLE myTest1;
does not use quotes around "myTest1".When I run this migration I get this error in my terminal:
error: table "mytest1" does not exist
As far as I know without quotes this command won't work. Perhaps it's a simple matter of adding these quotes into drizzlekit functionality.
The text was updated successfully, but these errors were encountered: