Mark the interdependency between our code and DOT

We need to drop the Foreign Keys, apply their two migrations and then
re-add the Foreign Keys but Django gets to decide on the apply order and
this helps ensure we get the one we want.
This commit is contained in:
Kevin Falcone
2018-07-26 14:04:43 -04:00
parent 9a7c224f18
commit bc082aa1ac
2 changed files with 5 additions and 0 deletions

View File

@@ -13,6 +13,10 @@ class Migration(migrations.Migration):
('oauth_dispatch', '0005_applicationaccess_type'),
]
run_before = [
('oauth2_provider', '0005_auto_20170514_1141'),
]
operations = [
migrations.AlterField(
model_name='applicationaccess',

View File

@@ -11,6 +11,7 @@ class Migration(migrations.Migration):
dependencies = [
('oauth_dispatch', '0006_drop_application_id_constraints'),
('oauth2_provider', '0006_auto_20171214_2232'),
]
operations = [