diff options
author | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2017-12-01 12:11:12 -0500 |
---|---|---|
committer | Sawyer Bergeron <sbergeron@iol.unh.edu> | 2017-12-13 10:07:58 -0500 |
commit | a6250e99eaa3a3525ea58904d77bbfcd555f208c (patch) | |
tree | 844a832cf65ed323f89e9bca924331483bf893f5 /dashboard/src/booking/migrations/0002_auto_20171213_1506.py | |
parent | cde5479d94eb3ca175df8b8e3d1f7dec8b7bbda4 (diff) |
Add Dashboard OS Selection Menu on Booking
JIRA: PHAROS-326
Implement dropdown menu on pod booking page for user to
select base OS, as well as associated support in API and
pod status/booking status views
This patch includes the migration file mentioned by Parker Berbarian
Change-Id: I46a7b0e5e7020a89bc8fa0fe53c10bbda14a2e2d
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'dashboard/src/booking/migrations/0002_auto_20171213_1506.py')
-rw-r--r-- | dashboard/src/booking/migrations/0002_auto_20171213_1506.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dashboard/src/booking/migrations/0002_auto_20171213_1506.py b/dashboard/src/booking/migrations/0002_auto_20171213_1506.py new file mode 100644 index 0000000..3e0a5fa --- /dev/null +++ b/dashboard/src/booking/migrations/0002_auto_20171213_1506.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10 on 2017-12-13 15:06 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('booking', '0001_initial'), + ] + + operations = [ + migrations.CreateModel( + name='Opsys', + fields=[ + ('id', models.AutoField(primary_key=True, serialize=False)), + ('name', models.CharField(max_length=100)), + ], + ), + migrations.AddField( + model_name='booking', + name='opsys', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='booking.Opsys'), + ), + ] |