0021_dependency.py 1.1 KB
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
1
2
3
# Generated by Django 2.0.5 on 2018-07-10 14:55

import django.db.models.deletion
Guilhem Saurel's avatar
Guilhem Saurel committed
4
from django.db import migrations, models
Guilhem Saurel's avatar
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
29
30
31


class Migration(migrations.Migration):

    dependencies = [
        ('rainboard', '0020_erbium'),
    ]

    operations = [
        migrations.CreateModel(
            name='Dependency',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('robotpkg', models.BooleanField(default=False)),
                ('cmake', models.BooleanField(default=False)),
                ('library', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='rdeps', to='rainboard.Project')),
                ('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dependencies', to='rainboard.Project')),
            ],
            options={
                'verbose_name_plural': 'dependencies',
            },
        ),
        migrations.AlterUniqueTogether(
            name='dependency',
            unique_together={('project', 'library')},
        ),
    ]