summaryrefslogtreecommitdiffstats
path: root/pharos-dashboard/dashboard
diff options
context:
space:
mode:
authormaxbr <maxbr@mi.fu-berlin.de>2016-08-22 18:50:33 +0200
committermaxbr <maxbr@mi.fu-berlin.de>2016-08-22 18:59:32 +0200
commitb426489bafaa4d6d09d1b6cefbbd9a17509090d9 (patch)
tree711d0d06336ea8fd10929c1b55c0b04dce509863 /pharos-dashboard/dashboard
parent114a6fb65e14f15487bc8db33cedae011fc42cac (diff)
Remove database migration files
JIRA: RELENG-12 Signed-off-by: maxbr <maxbr@mi.fu-berlin.de>
Diffstat (limited to 'pharos-dashboard/dashboard')
-rw-r--r--pharos-dashboard/dashboard/migrations/0001_initial.py40
-rw-r--r--pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py27
-rw-r--r--pharos-dashboard/dashboard/migrations/0002_resourceutilization.py23
-rw-r--r--pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py23
-rw-r--r--pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py24
-rw-r--r--pharos-dashboard/dashboard/migrations/0004_resource_owners.py22
-rw-r--r--pharos-dashboard/dashboard/migrations/0004_resource_slave.py23
-rw-r--r--pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py19
-rw-r--r--pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py18
9 files changed, 0 insertions, 219 deletions
diff --git a/pharos-dashboard/dashboard/migrations/0001_initial.py b/pharos-dashboard/dashboard/migrations/0001_initial.py
deleted file mode 100644
index 6343b46..0000000
--- a/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/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py b/pharos-dashboard/dashboard/migrations/0002_auto_20160815_1511.py
deleted file mode 100644
index 67822a7..0000000
--- a/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/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py b/pharos-dashboard/dashboard/migrations/0002_resourceutilization.py
deleted file mode 100644
index 8e10acf..0000000
--- a/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/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py b/pharos-dashboard/dashboard/migrations/0003_auto_20160813_1302.py
deleted file mode 100644
index 8c4c213..0000000
--- a/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/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py b/pharos-dashboard/dashboard/migrations/0003_auto_20160815_1512.py
deleted file mode 100644
index 53b4fcd..0000000
--- a/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/pharos-dashboard/dashboard/migrations/0004_resource_owners.py b/pharos-dashboard/dashboard/migrations/0004_resource_owners.py
deleted file mode 100644
index b851588..0000000
--- a/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/pharos-dashboard/dashboard/migrations/0004_resource_slave.py b/pharos-dashboard/dashboard/migrations/0004_resource_slave.py
deleted file mode 100644
index 82d45f0..0000000
--- a/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/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py b/pharos-dashboard/dashboard/migrations/0005_remove_resource_slavename.py
deleted file mode 100644
index 339f8c3..0000000
--- a/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/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py b/pharos-dashboard/dashboard/migrations/0006_delete_resourceutilization.py
deleted file mode 100644
index fb637bd..0000000
--- a/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',
- ),
- ]