# Generated by Django 2.1 on 2018-11-14 14:29

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Buildhistory',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('buildtime', models.DateTimeField()),
                ('buildnum', models.IntegerField()),
                ('status', models.CharField(max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='Jobsnamedes',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('jobname', models.CharField(max_length=100)),
                ('jobdesc', models.CharField(max_length=200)),
            ],
        ),
        migrations.AddField(
            model_name='buildhistory',
            name='jobname',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='jenkc.Jobsnamedes'),
        ),
    ]
