Peit
DTDrizzle Team
•Created by michaelhedgpeth on 4/25/2024 in #help
Not clear what happens during migrate
not sure it is the reason the migration is not running, but check the journal.json for the
when
value. that correlates to the created_at
in drizzle_migrations table, and wont run if smaller than existing4 replies
DTDrizzle Team
•Created by Peit on 4/14/2024 in #help
`ADD COLUMN` and `RENAME COLUMN` migration issues
theres probably a better way, but at least from now ill be good
3 replies
DTDrizzle Team
•Created by Peit on 4/14/2024 in #help
`ADD COLUMN` and `RENAME COLUMN` migration issues
in case anyone reads this later; what i ended up doing was
- created the
__drizzle_migrations
table with the drizzle migrator in testing environment
- (commented out the individual lines of migrations that failed temporarily just to make it run)
- copied this table 1:1 to target env(s)
- deleted the latest rows of the migrations; the ones that still need to be applied
- (check journal json, the when
correlated to the created_at
in the table)3 replies