summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/dashboard/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pharos-dashboard/dashboard/migrations')
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0001_initial.py40
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py27
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py23
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py23
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py24
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0004_resource_owners.py22
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0004_resource_slave.py23
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py19
-rw-r--r--tools/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py18
9 files changed, 0 insertions, 219 deletions
diff --git a/tools/pharos-dashboard/dashboard/migrations/0001_initial.py b/tools/pharos-dashboard/dashboard/migrations/0001_initial.py
deleted file mode 100644
index 6343b463..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0001_initial.py
+++ /dev/null
@@ -1,40 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ]
-
- operations = [
- migrations.CreateModel(
- name='Resource',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=100, unique=True)),
- ('slavename', models.CharField(blank=True, max_length=50, null=True)),
- ('description', models.CharField(blank=True, max_length=300, null=True)),
- ('url', models.CharField(blank=True, max_length=100, null=True)),
- ('owners', models.ManyToManyField(to=settings.AUTH_USER_MODEL)),
- ],
- options={
- 'db_table': 'resource',
- },
- ),
- migrations.CreateModel(
- name='ResourceUtilization',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('pod_status', models.IntegerField()),
- ],
- ),
- ]
diff --git a/tools/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py b/tools/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py
deleted file mode 100644
index 67822a72..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py
+++ /dev/null
@@ -1,27 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:11
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0002_auto_20160815_1226'),
- ('dashboard', '0001_initial'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slavename',
- ),
- migrations.AddField(
- model_name='resource',
- name='slave',
- field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, to='jenkins.JenkinsSlave'),
- preserve_default=False,
- ),
- ]
diff --git a/tools/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py b/tools/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py
deleted file mode 100644
index 8e10acf8..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 12:50
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0001_initial'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='ResourceUtilization',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('pod_status', models.IntegerField()),
- ],
- ),
- ]
diff --git a/tools/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py b/tools/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py
deleted file mode 100644
index 8c4c2139..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 13:02
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0002_resourceutilization'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='active',
- ),
- migrations.RemoveField(
- model_name='resource',
- name='bookable',
- ),
- ]
diff --git a/tools/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py b/tools/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py
deleted file mode 100644
index 53b4fcd4..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:12
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0002_auto_20160815_1511'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slave',
- ),
- migrations.AddField(
- model_name='resource',
- name='slavename',
- field=models.CharField(blank=True, max_length=50, null=True),
- ),
- ]
diff --git a/tools/pharos-dashboard/dashboard/migrations/0004_resource_owners.py b/tools/pharos-dashboard/dashboard/migrations/0004_resource_owners.py
deleted file mode 100644
index b851588c..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0004_resource_owners.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-13 14:43
-from __future__ import unicode_literals
-
-from django.conf import settings
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- migrations.swappable_dependency(settings.AUTH_USER_MODEL),
- ('dashboard', '0003_auto_20160813_1302'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='resource',
- name='owners',
- field=models.ManyToManyField(to=settings.AUTH_USER_MODEL),
- ),
- ]
diff --git a/tools/pharos-dashboard/dashboard/migrations/0004_resource_slave.py b/tools/pharos-dashboard/dashboard/migrations/0004_resource_slave.py
deleted file mode 100644
index 82d45f0b..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0004_resource_slave.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:13
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0002_auto_20160815_1226'),
- ('dashboard', '0003_auto_20160815_1512'),
- ]
-
- operations = [
- migrations.AddField(
- model_name='resource',
- name='slave',
- field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.DO_NOTHING, to='jenkins.JenkinsSlave'),
- preserve_default=False,
- ),
- ]
diff --git a/tools/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py b/tools/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py
deleted file mode 100644
index 339f8c3f..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 15:17
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0004_resource_slave'),
- ]
-
- operations = [
- migrations.RemoveField(
- model_name='resource',
- name='slavename',
- ),
- ]
diff --git a/tools/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py b/tools/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py
deleted file mode 100644
index fb637bd7..00000000
--- a/tools/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-16 10:42
-from __future__ import unicode_literals
-
-from django.db import migrations
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('dashboard', '0005_remove_resource_slavename'),
- ]
-
- operations = [
- migrations.DeleteModel(
- name='ResourceUtilization',
- ),
- ]