add state to shiftregistration
parent
74481b0bda
commit
19623fdb92
@ -0,0 +1,27 @@
|
||||
# Generated by Django 4.0.4 on 2022-05-10 18:02
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("app", "0006_alter_shift_description"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="shiftregistration",
|
||||
name="state",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("REG", "registriert"),
|
||||
("CHECK", "checkin"),
|
||||
("CANCEL", "abgemeldet"),
|
||||
("FAIL", "nicht angetreten"),
|
||||
],
|
||||
default="REG",
|
||||
max_length=7,
|
||||
),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue