1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Generated by Django 4.2.7 on 2023-11-15 13:45
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('gtd', '0004_remove_gtdnote_slug_remove_gtdoutcome_slug_and_more'),
]
operations = [
migrations.CreateModel(
name='WiredPost',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(blank=True, max_length=512, null=True)),
('body', models.TextField(blank=True, null=True)),
('url', models.CharField(blank=True, max_length=512, null=True)),
('edit_url', models.CharField(blank=True, max_length=512, null=True)),
('date_last_pub', models.DateField()),
('guid', models.CharField(blank=True, db_index=True, max_length=512, null=True)),
('author', models.CharField(blank=True, max_length=255, null=True)),
('post_type', models.IntegerField(choices=[(0, 'review'), (1, 'guide'), (2, 'how-to')], default=1)),
('template_type', models.IntegerField(choices=[(0, 'story'), (1, 'gallery')], default=0)),
('update_frequency', models.BigIntegerField(help_text='In days')),
('needs_update', models.BooleanField(default=False)),
('is_live', models.BooleanField(default=True)),
('post_status', models.IntegerField(choices=[(0, 'Assigned'), (1, 'turned in'), (2, 'published')], default=2)),
],
options={
'ordering': ('date_last_pub',),
},
),
]
|