X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6b87b2b7014a0441f5f696a35127f12a89e48d2e..45b3f39b2548169718f640227d3c09064cdfa9cb:/src/api/migrations/0005_consumer_nonce_resource_token.py?ds=inline

diff --git a/src/api/migrations/0005_consumer_nonce_resource_token.py b/src/api/migrations/0005_consumer_nonce_resource_token.py
index 95873a7e3..ebbf81da6 100644
--- a/src/api/migrations/0005_consumer_nonce_resource_token.py
+++ b/src/api/migrations/0005_consumer_nonce_resource_token.py
@@ -12,10 +12,9 @@ class Migration(migrations.Migration):
     dependencies = [
         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
         ('api', '0004_bookuserdata_last_changed'),
-        ('piston', '0002_auto_20190228_2338'),
     ]
 
-    state_operations = [
+    operations = [
         migrations.CreateModel(
             name='Consumer',
             fields=[
@@ -24,7 +23,7 @@ class Migration(migrations.Migration):
                 ('description', models.TextField()),
                 ('key', models.CharField(max_length=18)),
                 ('secret', models.CharField(max_length=32)),
-                ('status', models.CharField(choices=[(b'pending', b'Pending approval'), (b'accepted', b'Accepted'), (b'canceled', b'Canceled')], default=b'pending', max_length=16)),
+                ('status', models.CharField(choices=[('pending', 'Pending approval'), ('accepted', 'Accepted'), ('canceled', 'Canceled')], default='pending', max_length=16)),
                 ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='consumers', to=settings.AUTH_USER_MODEL)),
             ],
         ),
@@ -51,7 +50,3 @@ class Migration(migrations.Migration):
             ],
         ),
     ]
-
-    operations = [
-        migrations.SeparateDatabaseAndState(state_operations=state_operations),
-    ]