1 | # -*- coding: utf-8 -*- |
||
2 | # Generated by Django 1.11.5 on 2017-10-08 10:46 |
||
3 | from __future__ import unicode_literals |
||
4 | |||
5 | from django.db import migrations, models |
||
6 | import django.db.models.deletion |
||
7 | |||
8 | |||
9 | View Code Duplication | class Migration(migrations.Migration): |
|
0 ignored issues
–
show
Duplication
introduced
by
Loading history...
|
|||
10 | |||
11 | initial = True |
||
12 | |||
13 | dependencies = [ |
||
14 | ('django_th', '0012_auto_20171003_2152'), |
||
15 | ] |
||
16 | |||
17 | operations = [ |
||
18 | migrations.CreateModel( |
||
19 | name='Reddit', |
||
20 | fields=[ |
||
21 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
||
22 | ('name', models.CharField(max_length=255)), |
||
23 | ('status', models.BooleanField(default=False)), |
||
24 | ('description', models.CharField(max_length=255)), |
||
25 | ('subreddit', models.CharField(max_length=80)), |
||
26 | ('share_link', models.BooleanField(default=False)), |
||
27 | ('trigger', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='django_th.TriggerService')), |
||
28 | ], |
||
29 | options={ |
||
30 | 'db_table': 'django_th_reddit', |
||
31 | }, |
||
32 | ), |
||
33 | ] |
||
34 |