Move API models to api app.
[wolnelektury.git] / src / api / piston / migrations / 0002_auto_20190228_2338.py
1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.11.20 on 2019-02-28 22:38
3 from __future__ import unicode_literals
4
5 from django.db import migrations
6
7
8 class Migration(migrations.Migration):
9
10     dependencies = [
11         ('piston', '0001_initial'),
12     ]
13
14     database_operations = [
15         migrations.AlterModelTable('Nonce', 'api_nonce'),
16         migrations.AlterModelTable('Consumer', 'api_consumer'),
17         migrations.AlterModelTable('Token', 'api_token'),
18     ]
19
20     state_operations = [
21         migrations.RemoveField(
22             model_name='consumer',
23             name='user',
24         ),
25         migrations.DeleteModel(
26             name='Nonce',
27         ),
28         migrations.RemoveField(
29             model_name='token',
30             name='consumer',
31         ),
32         migrations.RemoveField(
33             model_name='token',
34             name='user',
35         ),
36         migrations.DeleteModel(
37             name='Consumer',
38         ),
39         migrations.DeleteModel(
40             name='Token',
41         ),
42     ]
43
44     operations = [
45         migrations.SeparateDatabaseAndState(
46             database_operations=database_operations,
47             state_operations=state_operations
48         ),
49         migrations.DeleteModel(
50             name='Resource',
51         ),
52     ]