guardian/testapp/migrations/0005_uuidpkmodel.py
raw| 1 | # Generated by Django 3.0.3 on 2020-02-05 04:41 |
| 2 | |
| 3 | import uuid |
| 4 | |
| 5 | from django.db import migrations, models |
| 6 | |
| 7 | |
| 8 | class Migration(migrations.Migration): |
| 9 | dependencies = [ |
| 10 | ("testapp", "0004_childtestmodel_parenttestmodel"), |
| 11 | ] |
| 12 | |
| 13 | operations = [ |
| 14 | migrations.CreateModel( |
| 15 | name="UUIDPKModel", |
| 16 | fields=[ |
| 17 | ("uuid_pk", models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), |
| 18 | ], |
| 19 | ), |
| 20 | ] |