InfoTech-Backend/infotech/daytimes/migrations/0001_initial.py

24 lines
849 B
Python

# Generated by Django 4.2 on 2023-04-22 06:04
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='DayTime',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.TextField()),
('day', models.TextField(choices=[('Monday', 'Monday'), ('Tuesday', 'Tuesday'), ('Wednesday', 'Wednesday'), ('Thursday', 'Thursday'), ('Friday', 'Friday'), ('Saturday', 'Saturday'), ('Sunday', 'Sunday')])),
('time_start', models.TimeField(max_length=40)),
('time_end', models.TimeField(max_length=20)),
],
),
]