2016-10-01 20:42:44 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
2016-10-17 20:21:26 +02:00
|
|
|
# Generated by Django 1.10.2 on 2016-10-17 18:20
|
2016-10-01 20:42:44 +02:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
import django.db.models.deletion
|
|
|
|
from django.db import migrations, models
|
|
|
|
import openslides.utils.models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
2016-10-17 20:21:26 +02:00
|
|
|
('motions', '0005_motionchangerecommendation'),
|
2016-10-01 20:42:44 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='MotionBlock',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('title', models.CharField(max_length=255)),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'default_permissions': (),
|
|
|
|
},
|
|
|
|
bases=(openslides.utils.models.RESTModelMixin, models.Model),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='motion',
|
|
|
|
name='motion_block',
|
|
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='motions.MotionBlock'),
|
|
|
|
),
|
|
|
|
]
|