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

25 lines
849 B
Python
Raw Normal View History

2023-04-22 14:07:08 +08:00
# 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)),
],
),
]