push won't work
I just got started using Drizzle & Drizzle-kit, but I've been running into some strange issues. I created a table, pushed that table, tried to rename a column in that table and now I get the following result:
1. Rename the column in the
jobs
table
2. rename the jobs
table to __old_push_jobs
3. create a new jobs
table with the old, incorrect configuration
4. insert the old jobs into the new jobs
Why would it make the change in the back-up schema? Is there anything I can do to solve this? I had more issues before that were only fixed by removing columns, pushing and then adding them again.
I've tried downgrading to drizzle-kit 0.21.3
but I get the error message that I have to upgrade drizzle-kit.
here's my drizzle.config.ts:
and my schema:
0 Replies