[rentals] Add Notes field to LockerInfo
This commit is contained in:
parent
8b5489bc6f
commit
7e0a5fc609
18
rentals/migrations/0002_lockerinfo_notes.py
Normal file
18
rentals/migrations/0002_lockerinfo_notes.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.0.2 on 2022-02-18 19:54
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("rentals", "0001_initial"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="lockerinfo",
|
||||
name="notes",
|
||||
field=models.TextField(blank=True),
|
||||
),
|
||||
]
|
@ -85,6 +85,7 @@ class LockerInfo(models.Model):
|
||||
renter = models.ForeignKey(
|
||||
Member, on_delete=models.CASCADE, null=True, blank=True, db_constraint=False
|
||||
)
|
||||
notes = models.TextField(blank=True)
|
||||
|
||||
class Meta:
|
||||
constraints = [
|
||||
|
Loading…
Reference in New Issue
Block a user