summaryrefslogtreecommitdiff
path: root/main/migrations/0003_migrate_maintainer.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/migrations/0003_migrate_maintainer.py')
-rw-r--r--main/migrations/0003_migrate_maintainer.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/main/migrations/0003_migrate_maintainer.py b/main/migrations/0003_migrate_maintainer.py
index a3a4793f..4169a5c9 100644
--- a/main/migrations/0003_migrate_maintainer.py
+++ b/main/migrations/0003_migrate_maintainer.py
@@ -1,11 +1,9 @@
-
+# -*- coding: utf-8 -*-
from south.db import db
+from south.v2 import DataMigration
from django.db import models
-from main.models import *
-
-class Migration:
- no_dry_run = True
+class Migration(DataMigration):
def forwards(self, orm):
orm.Package.objects.filter(maintainer=0).update(maintainer=None)