summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/src/booking/migrations
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2016-10-12 12:59:53 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-10-12 12:59:53 +0000
commit0655a3226b31ac0486e053a6161f99f08223ba59 (patch)
tree8b0c6e34327815932257444e192c678c76586445 /tools/pharos-dashboard/src/booking/migrations
parent83fbef89983549217a8654e6140af7f9f7032111 (diff)
parent7c3d7e75f50c3e39eb1c752391c6336431543288 (diff)
Merge "Add Installer and Scenario fields to bookings"
Diffstat (limited to 'tools/pharos-dashboard/src/booking/migrations')
-rw-r--r--tools/pharos-dashboard/src/booking/migrations/0002_auto_20161005_1202.py40
1 files changed, 40 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/src/booking/migrations/0002_auto_20161005_1202.py b/tools/pharos-dashboard/src/booking/migrations/0002_auto_20161005_1202.py
new file mode 100644
index 00000000..05684f0b
--- /dev/null
+++ b/tools/pharos-dashboard/src/booking/migrations/0002_auto_20161005_1202.py
@@ -0,0 +1,40 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10 on 2016-10-05 12:02
+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='Installer',
+ fields=[
+ ('id', models.AutoField(primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=30)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='Scenario',
+ fields=[
+ ('id', models.AutoField(primary_key=True, serialize=False)),
+ ('name', models.CharField(max_length=300)),
+ ],
+ ),
+ migrations.AddField(
+ model_name='booking',
+ name='installer',
+ field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='booking.Installer'),
+ ),
+ migrations.AddField(
+ model_name='booking',
+ name='scenario',
+ field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='booking.Scenario'),
+ ),
+ ]