[rentals] Add Notes field to LockerInfo

This commit is contained in:
Adam Goldsmith 2022-02-18 14:55:57 -05:00
parent 8b5489bc6f
commit 7e0a5fc609
2 changed files with 19 additions and 0 deletions

View 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),
),
]

View File

@ -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 = [