Treatment
This commit is contained in:
parent
ab1d605c95
commit
a8a87f7ddb
5 changed files with 65 additions and 17 deletions
29
ccdb/experiments/migrations/0003_treatment.py
Normal file
29
ccdb/experiments/migrations/0003_treatment.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('misc', '0001_initial'),
|
||||
('species', '0003_collectionspecies'),
|
||||
('locations', '0002_remove_site_fk_dupes'),
|
||||
('experiments', '0002_treatment_type'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Treatment',
|
||||
fields=[
|
||||
('id', models.AutoField(primary_key=True, verbose_name='ID', auto_created=True, serialize=False)),
|
||||
('sex', models.CharField(max_length=25)),
|
||||
('container', models.ForeignKey(blank=True, null=True, to='misc.Container')),
|
||||
('flaw', models.ForeignKey(blank=True, null=True, to='experiments.Flaw')),
|
||||
('species', models.ForeignKey(to='species.Species')),
|
||||
('study_location', models.ForeignKey(to='locations.StudyLocation')),
|
||||
('treatment_type', models.ForeignKey(to='experiments.TreatmentType')),
|
||||
],
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue