0005_branches.py 1.05 KB
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Generated by Django 2.0.1 on 2018-01-30 14:44

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


class Migration(migrations.Migration):

    dependencies = [
        ('rainboard', '0004_project_main_forge'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='branch',
            name='commit',
        ),
        migrations.RemoveField(
            model_name='branch',
            name='repo',
        ),
        migrations.AddField(
            model_name='branch',
            name='ahead',
            field=models.PositiveSmallIntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='branch',
            name='behind',
            field=models.PositiveSmallIntegerField(blank=True, null=True),
        ),
        migrations.AddField(
            model_name='branch',
            name='project',
            field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.CASCADE, to='rainboard.Project'),
            preserve_default=False,
        ),
    ]