mirror of
https://github.com/healthchecks/healthchecks.git
synced 2024-11-21 15:17:57 +00:00
26a57343b1
Using model's default didn't quite work, as Django tried to use the same UUID for all rows.
20 lines
436 B
Python
20 lines
436 B
Python
# Generated by Django 5.0.4 on 2024-05-17 07:41
|
|
|
|
import uuid
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("api", "0104_fill_notification_code"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="notification",
|
|
name="code",
|
|
field=models.UUIDField(default=uuid.uuid4, editable=False, unique=True),
|
|
),
|
|
]
|