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

Combine the Django migrations under involvement #690

Open
Marmingen opened this issue Nov 13, 2022 · 1 comment
Open

Combine the Django migrations under involvement #690

Marmingen opened this issue Nov 13, 2022 · 1 comment
Labels
enhancement Lowest Lowest priority small Tasks that are small and should take little time

Comments

@Marmingen
Copy link
Collaborator

Description

There are dozens of small migrations under involvement that could easily be combined into a single migration.

Steps to Reproduce

  1. be in involvement path
  2. manage.py squashmigrations app_label [start_migration_name] migration_name
  3. delete the now obsolete migration files
  4. check dependencies and make sure they now refer to the squashed file
  5. if dependencies are all OK: remove the replaces attribute in the Migration class
@Marmingen Marmingen added enhancement Lowest Lowest priority small Tasks that are small and should take little time labels Nov 13, 2022
@Marmingen
Copy link
Collaborator Author

most of them seem to do the same thing as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Lowest Lowest priority small Tasks that are small and should take little time
Projects
None yet
Development

No branches or pull requests

1 participant