summaryrefslogtreecommitdiff
path: root/app/gtd/migrations/0006_remove_gtdoutcome_featured_image_wirednote.py
blob: a301f268be818f05d365cf3124f08ab5de67bd37 (plain)
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:54

from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        ('gtd', '0005_wiredpost'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='gtdoutcome',
            name='featured_image',
        ),
        migrations.CreateModel(
            name='WiredNote',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=400)),
                ('url', models.CharField(blank=True, max_length=400, null=True)),
                ('body_markdown', models.TextField(blank=True, null=True)),
                ('date_created', models.DateTimeField(default=django.utils.timezone.now)),
                ('status', models.IntegerField(choices=[(0, 'Call In'), (1, 'Asked For'), (2, 'Coming'), (3, 'Testing'), (4, 'Done'), (5, 'Live')], default=0)),
                ('plan', models.IntegerField(choices=[(0, 'For Guide'), (1, 'Review'), (2, 'Rave/Rant'), (3, 'No Plan')], default=0)),
                ('post', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='gtd.wiredpost')),
            ],
            options={
                'ordering': ('date_created', 'status'),
            },
        ),
    ]