Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch database migration engine #546

Merged
merged 12 commits into from
Feb 19, 2025
Merged

Conversation

laggron42
Copy link
Member

Due to the numerous problems we've had with aerich and its limitations, I decided to ditch it in favor of Django's own. However, changing migration engine mid-project for something open source is very perilous.

The following situations must be thouroughly tested:

  • Creating a brand new instance
  • Updating a bot with up-to-date schemas (all existing aerich migrations were run)
  • Updating a bot with out-of-date schemas (updating several versions at once and missing migrations)
  • Generating new migrations afterwards

This PR must be merged before creating any new database migration.

@laggron42 laggron42 self-assigned this Feb 12, 2025
@laggron42 laggron42 force-pushed the lagg/django/switch-migration-engine branch 4 times, most recently from c80f0bf to 350dc45 Compare February 17, 2025 14:03
@laggron42 laggron42 force-pushed the lagg/django/switch-migration-engine branch from db8bab5 to fb9eecd Compare February 19, 2025 10:45
@laggron42 laggron42 merged commit ddf1407 into master Feb 19, 2025
2 checks passed
@laggron42 laggron42 deleted the lagg/django/switch-migration-engine branch February 19, 2025 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants