Closed
Bug 1401252
Opened 8 years ago
Closed 7 years ago
Squash kuma migrations
Categories
(developer.mozilla.org Graveyard :: Code Cleanup, enhancement)
developer.mozilla.org Graveyard
Code Cleanup
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jwhitlock, Unassigned)
References
Details
Django has a process for "squashing" migrations, to combine a sequence of migrations into a single migration:
https://docs.djangoproject.com/en/1.8/topics/migrations/
It will be useful to do this before the 1.9 - 1.11 update, to reduce the number of historical migrations that need to be updated due to API changes.
Historical data migrations, that have already been applied, can be removed from the squashed migrations. This will speed up testing that runs the migrations. It can also remove the data migrations that add the utf8_distinct_ci collation [1] and then remove it [2]. This will allow us to use standard MySQL installations in our testing infrastructure.
[1] https://github.com/mozilla/kuma/blob/1ed896531c164103ac8c88fffb0f42fd86621fef/kuma/wiki/migrations/0002_auto_20150430_0805.py
[2] https://github.com/mozilla/kuma/blob/1ed896531c164103ac8c88fffb0f42fd86621fef/kuma/wiki/migrations/0035_utf8_general_ci_collation.py
Comment 1•7 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/abc8441faaa1eb6edafe47cb445dcb5246563c38
bug 1401252: Transition squashed migrations
Transition squashed migrations to regular migrations.
https://github.com/mozilla/kuma/commit/905e9a93b0916b62decd15fa6cba597c8123cbf6
Merge pull request #4625 from jwhitlock/transition-squashed-migration-1401253
bug 1401252: Transition squashed migrations
| Reporter | ||
Comment 2•7 years ago
|
||
Migrations squashed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•