1 | # Generated by Django 2.0.6 on 2018-06-12 12:17
|
---|
2 | import uuid
|
---|
3 |
|
---|
4 | from django.db import migrations, models
|
---|
5 | import django.utils.timezone
|
---|
6 |
|
---|
7 |
|
---|
8 | from common.migration_utils import CustomMigration
|
---|
9 |
|
---|
10 |
|
---|
11 | class Migration(CustomMigration):
|
---|
12 |
|
---|
13 | dependencies = [
|
---|
14 | ('vario', '0024_populate_tasktags'),
|
---|
15 | ]
|
---|
16 |
|
---|
17 | operations = [
|
---|
18 | # prepare to migrate to UUID PKs for ExampleLayout and LayoutField
|
---|
19 | migrations.AddField(
|
---|
20 | model_name='examplelayout',
|
---|
21 | name='uuid',
|
---|
22 | field=models.UUIDField(null=True, default=uuid.uuid4),
|
---|
23 | ),
|
---|
24 | migrations.AddField(
|
---|
25 | model_name='layoutfield',
|
---|
26 | name='uuid',
|
---|
27 | field=models.UUIDField(null=True, default=uuid.uuid4),
|
---|
28 | ),
|
---|
29 | migrations.AddField(
|
---|
30 | model_name='layoutfield',
|
---|
31 | name='temp_layout',
|
---|
32 | field=models.UUIDField(null=True),
|
---|
33 | ),
|
---|
34 | ]
|
---|