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:
@@ -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',
|
||||
|
||||
@@ -11,6 +11,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('oauth_dispatch', '0006_drop_application_id_constraints'),
|
||||
('oauth2_provider', '0006_auto_20171214_2232'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
|
||||
Reference in New Issue
Block a user