Drizzle-kit force rename

Hi, i am getting an confirmation choices which is a problem when i try to automate the migration with docker. is there any way to force rename or other work around?.this is the example of the problem i get with "push" command when i use "migrate" i get error if i already have table with same name as drizzle remove CREATE IF NOT.
No description
3 Replies
Mario564
Mario5642w ago
@yehtet804 The generate command should be used in dev and then committed in your repo so you can then use the migrate command without getting prompted for anything
yehtet804
yehtet804OP2w ago
but i get another kind of error that is for instance "the relations product already exit" .
Mario564
Mario5642w ago
That seems like a different issue, seeing as I can't see any product table in the sceenshot you sent If you're upgrading from an older version of Drizzle ORM and Kit, you may need to manually update the generated migration file since there may have been breaking changes in between versions

Did you find this page helpful?