diff options
Diffstat (limited to 'dashboard/src/booking')
-rw-r--r-- | dashboard/src/booking/migrations/0005_booking_idf.py | 18 | ||||
-rw-r--r-- | dashboard/src/booking/models.py | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/dashboard/src/booking/migrations/0005_booking_idf.py b/dashboard/src/booking/migrations/0005_booking_idf.py new file mode 100644 index 0000000..31e9170 --- /dev/null +++ b/dashboard/src/booking/migrations/0005_booking_idf.py @@ -0,0 +1,18 @@ +# Generated by Django 2.1 on 2019-04-12 19:27 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('booking', '0004_auto_20190124_1700'), + ] + + operations = [ + migrations.AddField( + model_name='booking', + name='idf', + field=models.TextField(blank=True, default=''), + ), + ] diff --git a/dashboard/src/booking/models.py b/dashboard/src/booking/models.py index 8612abd..02e03cc 100644 --- a/dashboard/src/booking/models.py +++ b/dashboard/src/booking/models.py @@ -32,6 +32,7 @@ class Booking(models.Model): project = models.CharField(max_length=100, default="", blank=True, null=True) lab = models.ForeignKey(Lab, null=True, on_delete=models.SET_NULL) pdf = models.TextField(blank=True, default="") + idf = models.TextField(blank=True, default="") class Meta: db_table = 'booking' |