summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/src/dashboard/migrations
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2017-05-05 10:02:56 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2017-05-05 10:28:14 +0200
commitd4d63f63f1ab4cd636499adee319f2a0b8513020 (patch)
tree34b52298d10cffd8ee768b51e3341ae63f75f631 /tools/pharos-dashboard/src/dashboard/migrations
parenteb878efa9b5222de678ed84373d6ac056c3b129e (diff)
Pharos Dashboard: Add manual resource management
Dev Pods are now managed by checking the "Dev pod" box in the Admin Panel. This commit also fixes a dead image URL and the oauth process for the dashboard URL. Change-Id: Ic94160eb3a4504a369606261440df0e5354ac027 Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'tools/pharos-dashboard/src/dashboard/migrations')
-rw-r--r--tools/pharos-dashboard/src/dashboard/migrations/0002_auto_20170505_0815.py42
1 files changed, 42 insertions, 0 deletions
diff --git a/tools/pharos-dashboard/src/dashboard/migrations/0002_auto_20170505_0815.py b/tools/pharos-dashboard/src/dashboard/migrations/0002_auto_20170505_0815.py
new file mode 100644
index 00000000..4285b887
--- /dev/null
+++ b/tools/pharos-dashboard/src/dashboard/migrations/0002_auto_20170505_0815.py
@@ -0,0 +1,42 @@
+##############################################################################
+# Copyright (c) 2016 Max Breitenfeldt and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+
+# -*- coding: utf-8 -*-
+# Generated by Django 1.10 on 2017-05-05 08:15
+from __future__ import unicode_literals
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('dashboard', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='resource',
+ name='dev_pod',
+ field=models.BooleanField(default=False),
+ ),
+ migrations.AlterField(
+ model_name='resource',
+ name='owner',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user_lab_owner', to=settings.AUTH_USER_MODEL),
+ ),
+ migrations.AlterField(
+ model_name='resource',
+ name='slave',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='jenkins.JenkinsSlave'),
+ ),
+ ]