0067_threadsource.py
27 lines
| 909 B
| text/x-python
|
PythonLexer
|
r1968 | # -*- coding: utf-8 -*- | ||
# Generated by Django 1.11 on 2017-11-21 11:29 | ||||
from __future__ import unicode_literals | ||||
from django.db import migrations, models | ||||
import django.db.models.deletion | ||||
class Migration(migrations.Migration): | ||||
dependencies = [ | ||||
('boards', '0066_auto_20171025_1148'), | ||||
] | ||||
operations = [ | ||||
migrations.CreateModel( | ||||
name='ThreadSource', | ||||
fields=[ | ||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||||
('name', models.TextField()), | ||||
('timestamp', models.DateTimeField()), | ||||
('source', models.TextField()), | ||||
('source_type', models.CharField(choices=[('RSS', 'RSS')], max_length=100)), | ||||
('thread', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='boards.Thread')), | ||||
], | ||||
), | ||||
] | ||||