# Generated by Django 2.2.13 on 2021-07-04 21:36

import core.utils
import datetime
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0004_auto_20210705_0028'),
    ]

    operations = [
        migrations.AlterField(
            model_name='restaurantreservations',
            name='check_in',
            field=models.DateTimeField(default=datetime.datetime(2021, 7, 5, 0, 36, 57, 891028)),
        ),
        migrations.AlterField(
            model_name='restaurantreservations',
            name='check_out',
            field=models.DateTimeField(default=datetime.datetime(2021, 7, 5, 0, 36, 57, 891028)),
        ),
        migrations.AlterField(
            model_name='restaurantreservations',
            name='party_size',
            field=core.utils.IntegerRangeField(error_messages={'invalid': 'Sorry the biggest table we have is 12 seats'}),
        ),
        migrations.AlterField(
            model_name='users',
            name='employee_number',
            field=core.utils.IntegerRangeField(blank=True, default=core.utils.create_new_employee_number, error_messages={'invalid': 'employee_number is unique integer 1000-9999'}, unique=True),
        ),
        migrations.AlterField(
            model_name='users',
            name='role',
            field=models.CharField(choices=[('EM', 'Employee'), ('ADMIN', 'Admin')], default='EM', error_messages={'invalid': 'Role is two choices ADMIN or EM'}, max_length=50),
        ),
    ]

# Generated by Django 2.2.13 on 2021-07-04 21:36

import core.utils
import datetime
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0004_auto_20210705_0028'),
    ]

    operations = [
        migrations.AlterField(
            model_name='restaurantreservations',
            name='check_in',
            field=models.DateTimeField(default=datetime.datetime(2021, 7, 5, 0, 36, 57, 891028)),
        ),
        migrations.AlterField(
            model_name='restaurantreservations',
            name='check_out',
            field=models.DateTimeField(default=datetime.datetime(2021, 7, 5, 0, 36, 57, 891028)),
        ),
        migrations.AlterField(
            model_name='restaurantreservations',
            name='party_size',
            field=core.utils.IntegerRangeField(error_messages={'invalid': 'Sorry the biggest table we have is 12 seats'}),
        ),
        migrations.AlterField(
            model_name='users',
            name='employee_number',
            field=core.utils.IntegerRangeField(blank=True, default=core.utils.create_new_employee_number, error_messages={'invalid': 'employee_number is unique integer 1000-9999'}, unique=True),
        ),
        migrations.AlterField(
            model_name='users',
            name='role',
            field=models.CharField(choices=[('EM', 'Employee'), ('ADMIN', 'Admin')], default='EM', error_messages={'invalid': 'Role is two choices ADMIN or EM'}, max_length=50),
        ),
    ]

# Generated by Django 2.2.13 on 2021-07-04 21:36