add dependencies for proper migration order
This commit is contained in:
parent
8e75bb77fb
commit
cca9ad0793
2 changed files with 9 additions and 1 deletions
|
@ -7,6 +7,10 @@ from django.db import models
|
||||||
|
|
||||||
class Migration(SchemaMigration):
|
class Migration(SchemaMigration):
|
||||||
|
|
||||||
|
depends_on = (
|
||||||
|
("speakers", "0001_initial"),
|
||||||
|
)
|
||||||
|
|
||||||
def forwards(self, orm):
|
def forwards(self, orm):
|
||||||
# Adding model 'ProposalSection'
|
# Adding model 'ProposalSection'
|
||||||
db.create_table('proposals_proposalsection', (
|
db.create_table('proposals_proposalsection', (
|
||||||
|
|
|
@ -7,6 +7,10 @@ from django.db import models
|
||||||
|
|
||||||
class Migration(SchemaMigration):
|
class Migration(SchemaMigration):
|
||||||
|
|
||||||
|
depends_on = (
|
||||||
|
("conference", "0001_initial"),
|
||||||
|
)
|
||||||
|
|
||||||
def forwards(self, orm):
|
def forwards(self, orm):
|
||||||
# Adding model 'SponsorLevel'
|
# Adding model 'SponsorLevel'
|
||||||
db.create_table('sponsorship_sponsorlevel', (
|
db.create_table('sponsorship_sponsorlevel', (
|
||||||
|
@ -181,4 +185,4 @@ class Migration(SchemaMigration):
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
complete_apps = ['sponsorship']
|
complete_apps = ['sponsorship']
|
||||||
|
|
Loading…
Reference in a new issue