0002_auto_20181106_1852.py 986 Bytes
Newer Older
Dennis Appel's avatar
Dennis Appel committed
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
# Generated by Django 2.1.3 on 2018-11-06 17:52

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


class Migration(migrations.Migration):

    dependencies = [
        ('wiki', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='WikiExample',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('exampleTitle', models.CharField(max_length=200)),
                ('exampleText', models.TextField()),
                ('exampleResource', models.FileField(blank=True, upload_to='')),
                ('wikiEntry', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='wiki.WikiEntry')),
            ],
        ),
        migrations.RemoveField(
            model_name='example',
            name='wikiEntry',
        ),
        migrations.DeleteModel(
            name='Example',
        ),
    ]