This should resolve migration issues arising from PostgreSQL's inability
to mix data and schema migrations in a single transaction.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Acked-by: Aaron Conole <aconole@bytheb.org>
Closes-bug: #104
class Migration(migrations.Migration):
+ # This is necessary due to a mistake made when writing the migration.
+ # PostgreSQL does not allow mixing of schema and data migrations within the
+ # same transaction. Disabling transactions ensures this doesn't happen.
+ # Refer to bug #104 for more information.
+ atomic = False
+
dependencies = [
('patchwork', '0015_add_series_models'),
]