--- /dev/null
+# -*- coding: utf-8 -*-
+from south.utils import datetime_utils as datetime
+from south.db import db
+from south.v2 import SchemaMigration
+from django.db import models
+
+
+class Migration(SchemaMigration):
+
+ def forwards(self, orm):
+ # Adding model 'Antibody'
+ db.create_table(u'samples_antibody', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('antigene', self.gf('django.db.models.fields.CharField')(max_length=500, db_index=True)),
+ ('nickname', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=20, null=True, blank=True)),
+ ('catalog', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)),
+ ('antibodies', self.gf('django.db.models.fields.CharField')(max_length=500, db_index=True)),
+ ('source', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=500, null=True, blank=True)),
+ ('biology', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
+ ('notes', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
+ ))
+ db.send_create_signal(u'samples', ['Antibody'])
+
+ # Adding model 'Cellline'
+ db.create_table(u'samples_cellline', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('cellline_name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=100, db_index=True)),
+ ('nickname', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=20, null=True, blank=True)),
+ ('notes', self.gf('django.db.models.fields.TextField')(blank=True)),
+ ))
+ db.send_create_signal(u'samples', ['Cellline'])
+
+ # Adding model 'Condition'
+ db.create_table(u'samples_condition', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('condition_name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=2000, db_index=True)),
+ ('nickname', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=20, null=True, blank=True)),
+ ('notes', self.gf('django.db.models.fields.TextField')(blank=True)),
+ ))
+ db.send_create_signal(u'samples', ['Condition'])
+
+ # Adding model 'ExperimentType'
+ db.create_table(u'samples_experimenttype', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=50)),
+ ))
+ db.send_create_signal(u'samples', ['ExperimentType'])
+
+ # Adding model 'Tag'
+ db.create_table(u'samples_tag', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('tag_name', self.gf('django.db.models.fields.CharField')(max_length=100, db_index=True)),
+ ('context', self.gf('django.db.models.fields.CharField')(default='Library', max_length=50)),
+ ))
+ db.send_create_signal(u'samples', ['Tag'])
+
+ # Adding model 'Species'
+ db.create_table(u'samples_species', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('scientific_name', self.gf('django.db.models.fields.CharField')(max_length=256, db_index=True)),
+ ('common_name', self.gf('django.db.models.fields.CharField')(max_length=256, blank=True)),
+ ))
+ db.send_create_signal(u'samples', ['Species'])
+
+ # Adding model 'Affiliation'
+ db.create_table(u'samples_affiliation', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('name', self.gf('django.db.models.fields.CharField')(max_length=256, db_index=True)),
+ ('contact', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)),
+ ('email', self.gf('django.db.models.fields.EmailField')(max_length=75, null=True, blank=True)),
+ ))
+ db.send_create_signal(u'samples', ['Affiliation'])
+
+ # Adding unique constraint on 'Affiliation', fields ['name', 'contact']
+ db.create_unique(u'samples_affiliation', ['name', 'contact'])
+
+ # Adding M2M table for field users on 'Affiliation'
+ m2m_table_name = db.shorten_name(u'samples_affiliation_users')
+ db.create_table(m2m_table_name, (
+ ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
+ ('affiliation', models.ForeignKey(orm[u'samples.affiliation'], null=False)),
+ ('htsuser', models.ForeignKey(orm[u'samples.htsuser'], null=False))
+ ))
+ db.create_unique(m2m_table_name, ['affiliation_id', 'htsuser_id'])
+
+ # Adding model 'LibraryType'
+ db.create_table(u'samples_librarytype', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=255)),
+ ('is_paired_end', self.gf('django.db.models.fields.BooleanField')(default=True)),
+ ('can_multiplex', self.gf('django.db.models.fields.BooleanField')(default=True)),
+ ))
+ db.send_create_signal(u'samples', ['LibraryType'])
+
+ # Adding model 'MultiplexIndex'
+ db.create_table(u'samples_multiplexindex', (
+ (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('adapter_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['samples.LibraryType'])),
+ ('multiplex_id', self.gf('django.db.models.fields.CharField')(max_length=6)),
+ ('sequence', self.gf('django.db.models.fields.CharField')(max_length=12, null=True, blank=True)),
+ ))
+ db.send_create_signal(u'samples', ['MultiplexIndex'])
+
+ # Adding unique constraint on 'MultiplexIndex', fields ['adapter_type', 'multiplex_id']
+ db.create_unique(u'samples_multiplexindex', ['adapter_type_id', 'multiplex_id'])
+
+ # Adding model 'Library'
+ db.create_table(u'samples_library', (
+ ('id', self.gf('django.db.models.fields.CharField')(max_length=10, primary_key=True)),
+ ('library_name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=100)),
+ ('library_species', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['samples.Species'])),
+ ('hidden', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('account_number', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
+ ('cell_line', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['samples.Cellline'], null=True, blank=True)),
+ ('condition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['samples.Condition'], null=True, blank=True)),
+ ('antibody', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['samples.Antibody'], null=True, blank=True)),
+ ('replicate', self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True)),
+ ('experiment_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['samples.ExperimentType'])),
+ ('library_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['samples.LibraryType'], null=True, blank=True)),
+ ('multiplex_id', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True)),
+ ('creation_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
+ ('made_for', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)),
+ ('made_by', self.gf('django.db.models.fields.CharField')(default='Lorian', max_length=50, blank=True)),
+ ('stopping_point', self.gf('django.db.models.fields.CharField')(default='Done', max_length=25)),
+ ('amplified_from_sample', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='amplified_into_sample', null=True, to=orm['samples.Library'])),
+ ('undiluted_concentration', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=5, decimal_places=2, blank=True)),
+ ('successful_pM', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=9, decimal_places=1, blank=True)),
+ ('ten_nM_dilution', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('gel_cut_size', self.gf('django.db.models.fields.IntegerField')(default=225, null=True, blank=True)),
+ ('insert_size', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
+ ('notes', self.gf('django.db.models.fields.TextField')(blank=True)),
+ ('bioanalyzer_summary', self.gf('django.db.models.fields.TextField')(default='', blank=True)),
+ ('bioanalyzer_concentration', self.gf('django.db.models.fields.DecimalField')(null=True, max_digits=5, decimal_places=2, blank=True)),
+ ('bioanalyzer_image_url', self.gf('django.db.models.fields.URLField')(default='', max_length=200, blank=True)),
+ ))
+ db.send_create_signal(u'samples', ['Library'])
+
+ # Adding M2M table for field affiliations on 'Library'
+ m2m_table_name = db.shorten_name(u'samples_library_affiliations')
+ db.create_table(m2m_table_name, (
+ ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
+ ('library', models.ForeignKey(orm[u'samples.library'], null=False)),
+ ('affiliation', models.ForeignKey(orm[u'samples.affiliation'], null=False))
+ ))
+ db.create_unique(m2m_table_name, ['library_id', 'affiliation_id'])
+
+ # Adding M2M table for field tags on 'Library'
+ m2m_table_name = db.shorten_name(u'samples_library_tags')
+ db.create_table(m2m_table_name, (
+ ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
+ ('library', models.ForeignKey(orm[u'samples.library'], null=False)),
+ ('tag', models.ForeignKey(orm[u'samples.tag'], null=False))
+ ))
+ db.create_unique(m2m_table_name, ['library_id', 'tag_id'])
+
+ # Adding model 'HTSUser'
+ db.create_table(u'samples_htsuser', (
+ (u'user_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['auth.User'], unique=True, primary_key=True)),
+ ))
+ db.send_create_signal(u'samples', ['HTSUser'])
+
+
+ def backwards(self, orm):
+ # Removing unique constraint on 'MultiplexIndex', fields ['adapter_type', 'multiplex_id']
+ db.delete_unique(u'samples_multiplexindex', ['adapter_type_id', 'multiplex_id'])
+
+ # Removing unique constraint on 'Affiliation', fields ['name', 'contact']
+ db.delete_unique(u'samples_affiliation', ['name', 'contact'])
+
+ # Deleting model 'Antibody'
+ db.delete_table(u'samples_antibody')
+
+ # Deleting model 'Cellline'
+ db.delete_table(u'samples_cellline')
+
+ # Deleting model 'Condition'
+ db.delete_table(u'samples_condition')
+
+ # Deleting model 'ExperimentType'
+ db.delete_table(u'samples_experimenttype')
+
+ # Deleting model 'Tag'
+ db.delete_table(u'samples_tag')
+
+ # Deleting model 'Species'
+ db.delete_table(u'samples_species')
+
+ # Deleting model 'Affiliation'
+ db.delete_table(u'samples_affiliation')
+
+ # Removing M2M table for field users on 'Affiliation'
+ db.delete_table(db.shorten_name(u'samples_affiliation_users'))
+
+ # Deleting model 'LibraryType'
+ db.delete_table(u'samples_librarytype')
+
+ # Deleting model 'MultiplexIndex'
+ db.delete_table(u'samples_multiplexindex')
+
+ # Deleting model 'Library'
+ db.delete_table(u'samples_library')
+
+ # Removing M2M table for field affiliations on 'Library'
+ db.delete_table(db.shorten_name(u'samples_library_affiliations'))
+
+ # Removing M2M table for field tags on 'Library'
+ db.delete_table(db.shorten_name(u'samples_library_tags'))
+
+ # Deleting model 'HTSUser'
+ db.delete_table(u'samples_htsuser')
+
+
+ models = {
+ u'auth.group': {
+ 'Meta': {'object_name': 'Group'},
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
+ 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
+ },
+ u'auth.permission': {
+ 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
+ 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
+ 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
+ },
+ u'auth.user': {
+ 'Meta': {'object_name': 'User'},
+ 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+ 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
+ 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
+ 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
+ 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
+ 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
+ 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
+ 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
+ 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
+ },
+ u'contenttypes.contenttype': {
+ 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
+ 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
+ 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
+ },
+ u'samples.affiliation': {
+ 'Meta': {'ordering': "['name', 'contact']", 'unique_together': "(('name', 'contact'),)", 'object_name': 'Affiliation'},
+ 'contact': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
+ 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}),
+ 'users': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['samples.HTSUser']", 'null': 'True', 'blank': 'True'})
+ },
+ u'samples.antibody': {
+ 'Meta': {'ordering': "['antigene']", 'object_name': 'Antibody'},
+ 'antibodies': ('django.db.models.fields.CharField', [], {'max_length': '500', 'db_index': 'True'}),
+ 'antigene': ('django.db.models.fields.CharField', [], {'max_length': '500', 'db_index': 'True'}),
+ 'biology': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
+ 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'nickname': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
+ 'notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
+ 'source': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '500', 'null': 'True', 'blank': 'True'})
+ },
+ u'samples.cellline': {
+ 'Meta': {'ordering': "['cellline_name']", 'object_name': 'Cellline'},
+ 'cellline_name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100', 'db_index': 'True'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'nickname': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
+ 'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'})
+ },
+ u'samples.condition': {
+ 'Meta': {'ordering': "['condition_name']", 'object_name': 'Condition'},
+ 'condition_name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '2000', 'db_index': 'True'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'nickname': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '20', 'null': 'True', 'blank': 'True'}),
+ 'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'})
+ },
+ u'samples.experimenttype': {
+ 'Meta': {'object_name': 'ExperimentType'},
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'})
+ },
+ u'samples.htsuser': {
+ 'Meta': {'ordering': "['first_name', 'last_name', 'username']", 'object_name': 'HTSUser', '_ormbases': [u'auth.User']},
+ u'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['auth.User']", 'unique': 'True', 'primary_key': 'True'})
+ },
+ u'samples.library': {
+ 'Meta': {'ordering': "['-id']", 'object_name': 'Library'},
+ 'account_number': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
+ 'affiliations': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'library_affiliations'", 'null': 'True', 'to': u"orm['samples.Affiliation']"}),
+ 'amplified_from_sample': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'amplified_into_sample'", 'null': 'True', 'to': u"orm['samples.Library']"}),
+ 'antibody': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['samples.Antibody']", 'null': 'True', 'blank': 'True'}),
+ 'bioanalyzer_concentration': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'}),
+ 'bioanalyzer_image_url': ('django.db.models.fields.URLField', [], {'default': "''", 'max_length': '200', 'blank': 'True'}),
+ 'bioanalyzer_summary': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
+ 'cell_line': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['samples.Cellline']", 'null': 'True', 'blank': 'True'}),
+ 'condition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['samples.Condition']", 'null': 'True', 'blank': 'True'}),
+ 'creation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}),
+ 'experiment_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['samples.ExperimentType']"}),
+ 'gel_cut_size': ('django.db.models.fields.IntegerField', [], {'default': '225', 'null': 'True', 'blank': 'True'}),
+ 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'id': ('django.db.models.fields.CharField', [], {'max_length': '10', 'primary_key': 'True'}),
+ 'insert_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
+ 'library_name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}),
+ 'library_species': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['samples.Species']"}),
+ 'library_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['samples.LibraryType']", 'null': 'True', 'blank': 'True'}),
+ 'made_by': ('django.db.models.fields.CharField', [], {'default': "'Lorian'", 'max_length': '50', 'blank': 'True'}),
+ 'made_for': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
+ 'multiplex_id': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
+ 'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
+ 'replicate': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
+ 'stopping_point': ('django.db.models.fields.CharField', [], {'default': "'Done'", 'max_length': '25'}),
+ 'successful_pM': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '9', 'decimal_places': '1', 'blank': 'True'}),
+ 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'library_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['samples.Tag']"}),
+ 'ten_nM_dilution': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'undiluted_concentration': ('django.db.models.fields.DecimalField', [], {'null': 'True', 'max_digits': '5', 'decimal_places': '2', 'blank': 'True'})
+ },
+ u'samples.librarytype': {
+ 'Meta': {'ordering': "['-id']", 'object_name': 'LibraryType'},
+ 'can_multiplex': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'is_paired_end': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
+ 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'})
+ },
+ u'samples.multiplexindex': {
+ 'Meta': {'unique_together': "(('adapter_type', 'multiplex_id'),)", 'object_name': 'MultiplexIndex'},
+ 'adapter_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['samples.LibraryType']"}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'multiplex_id': ('django.db.models.fields.CharField', [], {'max_length': '6'}),
+ 'sequence': ('django.db.models.fields.CharField', [], {'max_length': '12', 'null': 'True', 'blank': 'True'})
+ },
+ u'samples.species': {
+ 'Meta': {'ordering': "['scientific_name']", 'object_name': 'Species'},
+ 'common_name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'blank': 'True'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'scientific_name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'})
+ },
+ u'samples.tag': {
+ 'Meta': {'ordering': "['context', 'tag_name']", 'object_name': 'Tag'},
+ 'context': ('django.db.models.fields.CharField', [], {'default': "'Library'", 'max_length': '50'}),
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'tag_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'db_index': 'True'})
+ }
+ }
+
+ complete_apps = ['samples']
\ No newline at end of file