From cca9ad0793fa7ba5c6bacb364f7cc22efbb02525 Mon Sep 17 00:00:00 2001 From: David Ray Date: Tue, 14 Jan 2014 11:06:41 -0500 Subject: [PATCH] add dependencies for proper migration order --- symposion/proposals/migrations/0001_initial.py | 4 ++++ symposion/sponsorship/migrations/0001_initial.py | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/symposion/proposals/migrations/0001_initial.py b/symposion/proposals/migrations/0001_initial.py index 15878d53..dc013cbd 100644 --- a/symposion/proposals/migrations/0001_initial.py +++ b/symposion/proposals/migrations/0001_initial.py @@ -7,6 +7,10 @@ from django.db import models class Migration(SchemaMigration): + depends_on = ( + ("speakers", "0001_initial"), + ) + def forwards(self, orm): # Adding model 'ProposalSection' db.create_table('proposals_proposalsection', ( diff --git a/symposion/sponsorship/migrations/0001_initial.py b/symposion/sponsorship/migrations/0001_initial.py index 4bf423d9..356b8a8d 100644 --- a/symposion/sponsorship/migrations/0001_initial.py +++ b/symposion/sponsorship/migrations/0001_initial.py @@ -7,6 +7,10 @@ from django.db import models class Migration(SchemaMigration): + depends_on = ( + ("conference", "0001_initial"), + ) + def forwards(self, orm): # Adding model 'SponsorLevel' db.create_table('sponsorship_sponsorlevel', ( @@ -181,4 +185,4 @@ class Migration(SchemaMigration): } } - complete_apps = ['sponsorship'] \ No newline at end of file + complete_apps = ['sponsorship']