summaryrefslogtreecommitdiff
path: root/app/posts/migrations/0003_auto_20211030_1955.py
blob: b54cdd852875c6c8dcddf5bda4eae2a6812f0862 (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
36
37
38
# Generated by Django 3.2.8 on 2021-10-30 19:55

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


class Migration(migrations.Migration):

    dependencies = [
        ('media', '0002_auto_20211030_1634'),
        ('posts', '0002_alter_post_id'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='post',
            name='site',
        ),
        migrations.RemoveField(
            model_name='post',
            name='template_name',
        ),
        migrations.AddField(
            model_name='post',
            name='featured_audio',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='media.luxaudio'),
        ),
        migrations.AddField(
            model_name='post',
            name='issue',
            field=models.PositiveIntegerField(null=True),
        ),
        migrations.AlterField(
            model_name='post',
            name='post_type',
            field=models.IntegerField(choices=[(0, 'Podcast'), (1, 'jrnl'), (2, 'field note')], default=1),
        ),
    ]