Closed pawelkoston closed 10 months ago
Did you try running aerich upgrade after the init-db to get the latest snapshot / version in the aerich table? I know generally when making changes the flow is:
aerich upgrade
-- get the current state of the migrations applied
make necessary model changes
aerich migrate
-- detect and generate any new migrations
optionally aerich upgrade
to apply any new migrations
Thank you for help, that worked.
Example:
Change length
The field length stays 1 but should be 2