From 6d8c0002e389347206e0c1eff00c25e081f24552 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 8 Nov 2021 16:02:14 +0900 Subject: [PATCH] Add migration file --- backend/api/migrations/0017_example_uuid.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 backend/api/migrations/0017_example_uuid.py diff --git a/backend/api/migrations/0017_example_uuid.py b/backend/api/migrations/0017_example_uuid.py new file mode 100644 index 00000000..95a8ebd4 --- /dev/null +++ b/backend/api/migrations/0017_example_uuid.py @@ -0,0 +1,19 @@ +# Generated by Django 3.2.8 on 2021-11-08 06:06 + +from django.db import migrations, models +import uuid + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0016_auto_20211018_0556'), + ] + + operations = [ + migrations.AddField( + model_name='example', + name='uuid', + field=models.UUIDField(db_index=True, default=uuid.uuid4, editable=False, unique=True), + ), + ]