Commits

Diego Búrigo Zacarão committed 1ef21f1

Added dependencies for South migrations

- This is needed in order to do not have integrity errors
when migrating the models schema in the database, mainly
using PostgreSQL. Basically some tables require others
tables to be created earlier.

  • Participants
  • Parent commits a6149d5

Comments (0)

Files changed (2)

transifex/projects/migrations/0001_initial.py

 from projects.models import *
 
 class Migration:
+
+    depends_on = (
+        ("codebases", "0001_initial"),
+        ("txcollections", "0001_initial"),
+    )
     
     def forwards(self, orm):
         

transifex/txcommon/migrations/0002_release_06_07.py

 from userprofile.countries import CountryField
 
 class Migration:
-    
+
+    depends_on = (
+        ("languages", "0001_initial"),
+    )
+
     def forwards(self, orm):
         
         # Adding model 'Profile'