diff --git a/rentals/migrations/0002_lockerinfo_notes.py b/rentals/migrations/0002_lockerinfo_notes.py new file mode 100644 index 0000000..c6f6395 --- /dev/null +++ b/rentals/migrations/0002_lockerinfo_notes.py @@ -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), + ), + ] diff --git a/rentals/models.py b/rentals/models.py index a63fabe..55b1a4d 100644 --- a/rentals/models.py +++ b/rentals/models.py @@ -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 = [