summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/jenkins/migrations
diff options
context:
space:
mode:
authorJack Morgan <jack.morgan@intel.com>2016-08-23 13:36:37 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-23 13:36:37 +0000
commit8b19eb63a99014cc1c59d05efe2e1fbe5f98a379 (patch)
tree7bdec8c03b61122474416d30a3c6d1eba603c702 /tools/pharos-dashboard/jenkins/migrations
parentf94c874069cfaef0f59c92c903876ce3d488e2b0 (diff)
parent6c993d9e3bd9a7c0fb94d7056e664648dd8d85cb (diff)
Merge changes from topic 'pharos-dashboard'
* changes: Create Jira issue for new booking Remove database migration files
Diffstat (limited to 'tools/pharos-dashboard/jenkins/migrations')
-rw-r--r--tools/pharos-dashboard/jenkins/migrations/0001_initial.py52
-rw-r--r--tools/pharos-dashboard/jenkins/migrations/0002_auto_20160815_1226.py20
2 files changed, 0 insertions, 72 deletions
diff --git a/tools/pharos-dashboard/jenkins/migrations/0001_initial.py b/tools/pharos-dashboard/jenkins/migrations/0001_initial.py
deleted file mode 100644
index a9bb8d56..00000000
--- a/tools/pharos-dashboard/jenkins/migrations/0001_initial.py
+++ /dev/null
@@ -1,52 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:19
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- initial = True
-
- dependencies = [
- ]
-
- operations = [
- migrations.CreateModel(
- name='JenkinsSlave',
- fields=[
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('name', models.CharField(max_length=100, unique=True)),
- ('status', models.CharField(default='offline', max_length=30)),
- ('url', models.CharField(max_length=1024)),
- ('ci_slave', models.BooleanField(default=False)),
- ('dev_pod', models.BooleanField(default=False)),
- ('building', models.BooleanField(default=False)),
- ('last_job_name', models.CharField(default='', max_length=1024)),
- ('last_job_url', models.CharField(default='', max_length=1024)),
- ('last_job_scenario', models.CharField(default='', max_length=50)),
- ('last_job_branch', models.CharField(default='', max_length=50)),
- ('last_job_installer', models.CharField(default='', max_length=50)),
- ('last_job_result', models.CharField(default='', max_length=30)),
- ],
- options={
- 'db_table': 'jenkins_slave',
- },
- ),
- migrations.CreateModel(
- name='JenkinsStatistic',
- fields=[
- ('timestamp', models.DateTimeField(auto_created=True)),
- ('id', models.AutoField(primary_key=True, serialize=False)),
- ('offline', models.BooleanField(default=False)),
- ('idle', models.BooleanField(default=False)),
- ('online', models.BooleanField(default=False)),
- ('slave', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='jenkins.JenkinsSlave')),
- ],
- options={
- 'db_table': 'jenkins_statistic',
- },
- ),
- ]
diff --git a/tools/pharos-dashboard/jenkins/migrations/0002_auto_20160815_1226.py b/tools/pharos-dashboard/jenkins/migrations/0002_auto_20160815_1226.py
deleted file mode 100644
index f1cf7f99..00000000
--- a/tools/pharos-dashboard/jenkins/migrations/0002_auto_20160815_1226.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-# Generated by Django 1.10 on 2016-08-15 12:26
-from __future__ import unicode_literals
-
-from django.db import migrations, models
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('jenkins', '0001_initial'),
- ]
-
- operations = [
- migrations.AlterField(
- model_name='jenkinsstatistic',
- name='timestamp',
- field=models.DateTimeField(auto_now_add=True),
- ),
- ]