diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-16 04:29:30 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-16 04:29:30 +0100 |
commit | f106379b5382b2b82aa56466c8d3acaae58327a9 (patch) | |
tree | 275a9e2edfbbca46009a511ffbc032685dea6dad /todolists | |
parent | 3a6398f42d04ea6a677bf7b6d5115175e9011432 (diff) | |
download | archweb-f106379b5382b2b82aa56466c8d3acaae58327a9.tar.gz archweb-f106379b5382b2b82aa56466c8d3acaae58327a9.tar.xz |
Clean up and make several migrations modern
This moves most migrations to the v2 format that have been presenting
some issues. One missing depends_on relationship has been added, and we
allow an index to not be dropped if it does not exist due to the
shittyness in sqlite3 actually keeping indexes across DDL on that table.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'todolists')
-rw-r--r-- | todolists/migrations/0002_add_todolist_and_todolistpackage.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/todolists/migrations/0002_add_todolist_and_todolistpackage.py b/todolists/migrations/0002_add_todolist_and_todolistpackage.py index 8365535..ba8f7eb 100644 --- a/todolists/migrations/0002_add_todolist_and_todolistpackage.py +++ b/todolists/migrations/0002_add_todolist_and_todolistpackage.py @@ -6,6 +6,10 @@ from django.db import models class Migration(SchemaMigration): + depends_on = ( + ('main', '0024_set_initial_flag_date'), + ) + def forwards(self, orm): db.create_table('todolists_todolist', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), |