0032_cijob.py 950 Bytes
Newer Older
Guilhem Saurel's avatar
cijob  
Guilhem Saurel committed
1
2
3
# Generated by Django 2.1.7 on 2019-03-07 01:27

import django.db.models.deletion
Guilhem Saurel's avatar
Guilhem Saurel committed
4
from django.db import migrations, models
Guilhem Saurel's avatar
cijob  
Guilhem Saurel committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28


class Migration(migrations.Migration):

    dependencies = [
        ('rainboard', '0031_started'),
    ]

    operations = [
        migrations.CreateModel(
            name='CIJob',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('passed', models.NullBooleanField()),
                ('job_id', models.PositiveIntegerField()),
                ('started', models.DateTimeField()),
                ('branch', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='rainboard.Branch')),
                ('repo', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='rainboard.Repo')),
            ],
            options={
                'ordering': ('-started',),
            },
        ),
    ]