2019-02-07 08:34:43 +01:00
|
|
|
# Generated by Django 2.1 on 2018-08-31 13:17
|
|
|
|
|
|
|
|
import django.db.models.deletion
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
2021-04-26 08:31:22 +02:00
|
|
|
"""Cleanup 2"""
|
2019-02-07 08:34:43 +01:00
|
|
|
|
|
|
|
dependencies = [("motions", "0011_motion_version_3")]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
# Cleanup from last migration. Somehow cannot be done there.
|
|
|
|
migrations.AlterField( # remove default=''
|
|
|
|
model_name="motion", name="text", field=models.TextField()
|
|
|
|
),
|
|
|
|
migrations.AlterField( # remove default=''
|
|
|
|
model_name="motion", name="title", field=models.CharField(max_length=255)
|
|
|
|
),
|
|
|
|
migrations.AlterField( # remove null=True
|
|
|
|
model_name="motionchangerecommendation",
|
|
|
|
name="motion",
|
|
|
|
field=models.ForeignKey(
|
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
related_name="change_recommendations",
|
|
|
|
to="motions.Motion",
|
|
|
|
),
|
|
|
|
),
|
|
|
|
]
|