Completed
Push — master ( 55dedd...16663f )
by Paolo
30s queued 14s
created

biosample.migrations.0003_orphansample   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 16
dl 0
loc 23
rs 10
c 0
b 0
f 0
1
# Generated by Django 2.2.9 on 2020-01-27 09:23
2
3
from django.db import migrations, models
4
5
6
class Migration(migrations.Migration):
7
8
    dependencies = [
9
        ('biosample', '0002_auto_20200124_1712'),
10
    ]
11
12
    operations = [
13
        migrations.CreateModel(
14
            name='OrphanSample',
15
            fields=[
16
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
17
                ('biosample_id', models.CharField(max_length=255, unique=True)),
18
                ('found_at', models.DateTimeField(auto_now_add=True)),
19
                ('ignore', models.BooleanField(default=False, help_text='Should I ignore this record or not?')),
20
                ('name', models.CharField(max_length=255)),
21
                ('removed', models.BooleanField(default=False, help_text='Is this sample still available?')),
22
                ('removed_at', models.DateTimeField(blank=True, null=True)),
23
            ],
24
        ),
25
    ]
26