Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 4acf95e

Browse files
committed
Remove mistake migrations
1 parent 7e4afcc commit 4acf95e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

editorsnotes/main/migrations/0124_auto__add_unique_projectrole_role.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ class Migration(SchemaMigration):
99

1010
def forwards(self, orm):
1111
# Adding unique constraint on 'ProjectRole', fields ['role']
12-
db.create_unique(u'main_projectrole', ['role'])
12+
#db.create_unique(u'main_projectrole', ['role'])
13+
pass
1314

1415

1516
def backwards(self, orm):
1617
# Removing unique constraint on 'ProjectRole', fields ['role']
17-
db.delete_unique(u'main_projectrole', ['role'])
18+
#db.delete_unique(u'main_projectrole', ['role'])
19+
pass
1820

1921

2022
models = {
@@ -305,4 +307,4 @@ def backwards(self, orm):
305307
}
306308
}
307309

308-
complete_apps = ['main']
310+
complete_apps = ['main']

editorsnotes/main/migrations/0125_auto__del_unique_projectrole_role.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ class Migration(SchemaMigration):
99

1010
def forwards(self, orm):
1111
# Removing unique constraint on 'ProjectRole', fields ['role']
12-
db.delete_unique(u'main_projectrole', ['role'])
12+
#db.delete_unique(u'main_projectrole', ['role'])
1313

1414

1515
def backwards(self, orm):
1616
# Adding unique constraint on 'ProjectRole', fields ['role']
17-
db.create_unique(u'main_projectrole', ['role'])
17+
#db.create_unique(u'main_projectrole', ['role'])
1818

1919

2020
models = {
@@ -305,4 +305,4 @@ def backwards(self, orm):
305305
}
306306
}
307307

308-
complete_apps = ['main']
308+
complete_apps = ['main']

0 commit comments

Comments
 (0)