1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.10 on 2016-11-03 13:33
3 from __future__ import unicode_literals
5 from django.db import migrations, models
6 import django.db.models.deletion
9 class Migration(migrations.Migration):
17 migrations.CreateModel(
20 ('id', models.AutoField(primary_key=True, serialize=False)),
21 ('name', models.CharField(max_length=100, unique=True)),
22 ('status', models.CharField(default='offline', max_length=30)),
23 ('url', models.CharField(max_length=1024)),
24 ('ci_slave', models.BooleanField(default=False)),
25 ('dev_pod', models.BooleanField(default=False)),
26 ('building', models.BooleanField(default=False)),
27 ('last_job_name', models.CharField(default='', max_length=1024)),
28 ('last_job_url', models.CharField(default='', max_length=1024)),
29 ('last_job_scenario', models.CharField(default='', max_length=50)),
30 ('last_job_branch', models.CharField(default='', max_length=50)),
31 ('last_job_installer', models.CharField(default='', max_length=50)),
32 ('last_job_result', models.CharField(default='', max_length=30)),
33 ('active', models.BooleanField(default=False)),
36 'db_table': 'jenkins_slave',
39 migrations.CreateModel(
40 name='JenkinsStatistic',
42 ('id', models.AutoField(primary_key=True, serialize=False)),
43 ('offline', models.BooleanField(default=False)),
44 ('idle', models.BooleanField(default=False)),
45 ('online', models.BooleanField(default=False)),
46 ('timestamp', models.DateTimeField(auto_now_add=True)),
47 ('slave', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='jenkins.JenkinsSlave')),
50 'db_table': 'jenkins_statistic',