aboutsummaryrefslogtreecommitdiffstats
path: root/src/booking/migrations/0011_booking_aggregateid.py
blob: 111b36bed8044426cdea883149a87d8336b2a63f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Generated by Django 2.2 on 2023-07-17 15:25

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('booking', '0010_auto_20230608_1913'),
    ]

    operations = [
        migrations.AddField(
            model_name='booking',
            name='aggregateId',
            field=models.CharField(blank=True, max_length=36, validators=[django.core.validators.RegexValidator(code='nomatch', message='aggregate_id must be a valid UUID', regex='^[0-9a-fA-F]{8}\x08-[0-9a-fA-F]{4}\x08-[0-9a-fA-F]{4}\x08-[0-9a-fA-F]{4}\x08-[0-9a-fA-F]{12}$')]),
        ),
    ]