first attempt at resolving migration dependencies
authorBryan <btbonval@gmail.com>
Fri, 20 Dec 2013 23:26:00 +0000 (18:26 -0500)
committerBryan <btbonval@gmail.com>
Fri, 20 Dec 2013 23:26:00 +0000 (18:26 -0500)
karmaworld/apps/document_upload/migrations/0001_initial.py
karmaworld/apps/notes/migrations/0001_initial.py
karmaworld/apps/notes/migrations/0002_auto__add_field_note_user.py

index 2751166c87773d796140419a2277b38e6be0b0c7..5d556a40c9b0ea9c501ed8a0fa639b99918f7b67 100644 (file)
@@ -7,6 +7,10 @@ from django.db import models
 
 class Migration(SchemaMigration):
 
+    depends_on = (
+        ('courses', '0001_initial'),
+    )
+
     def forwards(self, orm):
         # Adding model 'RawDocument'
         db.create_table('document_upload_rawdocument', (
@@ -94,4 +98,4 @@ class Migration(SchemaMigration):
         }
     }
 
-    complete_apps = ['document_upload']
\ No newline at end of file
+    complete_apps = ['document_upload']
index acff35c223b0b22cd477da7423b4f923b311accf..38f3406d106a01aa49a82f73dbcc82944f009dc8 100644 (file)
@@ -7,6 +7,10 @@ from django.db import models
 
 class Migration(SchemaMigration):
 
+    depends_on = (
+        ('courses', '0001_initial'),
+    )
+
     def forwards(self, orm):
         # Adding model 'Note'
         db.create_table('notes_note', (
@@ -133,4 +137,4 @@ class Migration(SchemaMigration):
         }
     }
 
-    complete_apps = ['notes']
\ No newline at end of file
+    complete_apps = ['notes']
index 60b62879946281c905f43156fa3edd9ae2015719..6de1ac2a023f152e0bd270e01966b4b151185949 100644 (file)
@@ -7,6 +7,10 @@ from django.db import models
 
 class Migration(SchemaMigration):
 
+    depends_on = (
+        ('users', '0001_initial'),
+    )
+
     def forwards(self, orm):
         # Adding field 'Note.user'
         db.add_column('notes_note', 'user',
@@ -107,4 +111,4 @@ class Migration(SchemaMigration):
         }
     }
 
-    complete_apps = ['notes']
\ No newline at end of file
+    complete_apps = ['notes']