mirror of
https://github.com/lemeow125/InfoTech-Backend.git
synced 2025-05-16 19:38:45 +08:00
Move max_slots from subject to schedule
This commit is contained in:
parent
ba8bc60032
commit
d365284fad
6 changed files with 46 additions and 4 deletions
18
infotech/schedules/migrations/0005_schedule_max_slots.py
Normal file
18
infotech/schedules/migrations/0005_schedule_max_slots.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.2 on 2023-04-22 07:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('schedules', '0004_schedule_daytimes'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='schedule',
|
||||
name='max_slots',
|
||||
field=models.IntegerField(default=50),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue