mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
Update 0037_create_groups_v01 migration documentation
This commit is contained in:
parent
de87f0c773
commit
67dacffa9f
1 changed files with 3 additions and 1 deletions
|
@ -2,11 +2,13 @@
|
|||
# It is dependent on 0035 (which populates ContentType and Permissions)
|
||||
# If permissions on the groups need changing, edit CISA_ANALYST_GROUP_PERMISSIONS
|
||||
# in the user_group model then:
|
||||
# [NOT RECOMMENDED]
|
||||
# step 1: docker-compose exec app ./manage.py migrate --fake registrar 0035_contenttypes_permissions
|
||||
# step 2: docker-compose exec app ./manage.py migrate registrar 0036_create_groups
|
||||
# step 3: fake run the latest migration in the migrations list
|
||||
# [RECOMMENDED]
|
||||
# Alternatively:
|
||||
# Only step: duplicate the migtation that loads data and run: docker-compose exec app ./manage.py migrate
|
||||
# Only step: duplicate the migration that loads data and run: docker-compose exec app ./manage.py migrate
|
||||
|
||||
from django.db import migrations
|
||||
from registrar.models import UserGroup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue