#NEWLINE# def forwards( self , orm ) : #NEWLINE# #INDENT# db . create_table ( 'library_case' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'created_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 468255 ) ) ) , ( 'created_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'modified_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 468439 ) ) ) , ( 'modified_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'deleted_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( db_index = True , null = True , blank = True ) ) , ( 'deleted_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'product' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'cases' , to = orm [ 'core.Product' ] ) ) ) ) #NEWLINE# db . send_create_signal ( 'library' , [ 'Case' ] ) #NEWLINE# db . create_table ( 'library_caseversion' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'created_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 462095 ) ) ) , ( 'created_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'modified_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 462381 ) ) ) , ( 'modified_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = self [ 'auth.User' ] ) ) , ( 'deleted_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( db_index = True , null = True , blank = True ) ) , ( 'deleted_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'status' , self . gf ( 'django.db.models.fields.CharField' ) ( default = 'draft' , max_length = 30 , db_index = True ) ) , ( 'productversion' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'caseversions' , to = orm [ 'core.ProductVersion' ] ) ) , ( 'case' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'versions' , to = orm [ 'library.Case' ] ) ) , ( 'name' , self . gf ( 'django.db.models.fields.CharField' ) ( max_length = 200 ) ) , ( 'description' , self . gf ( 'django.db.models.fields.TextField' ) ( blank = True ) ) , ( 'latest' , self . gf ( 'django.db.models.fields.BooleanField' ) ( default = False ) ) , ( 'envs_narrowed' , self . gf ( 'django.db.models.fields.BooleanField' ) ( default = False ) ) ) ) #NEWLINE# db . send_create_signal ( 'library' , [ 'CaseVersion' ] ) #NEWLINE# db . create_unique ( 'library_caseversion' , [ 'productversion_id' , 'case_id' ] ) #NEWLINE# db . create_table ( 'library_caseversion_environments' , ( ( 'id' , models . AutoField ( verbose_name = 'ID' , primary_key = True , auto_created = True ) ) , ( 'caseversion' , models . ForeignKey ( orm [ 'library.caseversion' ] , null = False ) ) , ( 'environment' , models . ForeignKey ( orm [ 'environments.environment' ] , null = False ) ) ) ) #NEWLINE# db . create_unique ( 'library_caseversion_environments' , [ 'caseversion_id' , 'environment_id' ] ) #NEWLINE# db . create_table ( 'library_caseversion_tags' , ( ( 'id' , models . AutoField ( verbose_name = 'ID' , primary_key = True , auto_created = True ) ) , ( 'caseversion' , models . ForeignKey ( orm [ 'library.caseversion' ] , null = False ) ) , ( 'tag' , models . ForeignKey ( orm [ 'tags.tag' ] , null = False ) ) ) ) #NEWLINE# db . create_unique ( 'library_caseversion_tags' , [ 'caseversion_id' , 'tag_id' ] ) #NEWLINE# db . create_table ( 'library_caseattachment' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'created_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 472479 ) ) ) , ( 'created_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'modified_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 472660 ) ) ) , ( 'modified_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'deleted_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( db_index = True , null = True , blank = True ) ) , ( 'deleted_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'attachment' , self . gf ( 'django.db.models.fields.files.FileField' ) ( max_length = 100 ) ) , ( 'caseversion' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'attachments' , to = orm [ 'library.CaseVersion' ] ) ) ) ) #NEWLINE# db . send_create_signal ( 'library' , [ 'CaseAttachment' ] ) #NEWLINE# db . create_table ( 'library_casestep' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'created_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 467216 ) ) ) , ( 'created_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'modified_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 467400 ) ) ) , ( 'modified_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'deleted_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( db_index = True , null = True , blank = True ) ) , ( 'deleted_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'caseversion' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'steps' , to = orm [ 'library.CaseVersion' ] ) ) , ( 'number' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'instruction' , self . gf ( 'django.db.models.fields.TextField' ) ( ) ) , ( 'expected' , self . gf ( 'django.db.models.fields.TextField' ) ( blank = True ) ) ) ) #NEWLINE# db . send_create_signal ( 'library' , [ 'CaseStep' ] ) #NEWLINE# db . create_unique ( 'library_casestep' , [ 'caseversion_id' , 'number' ] ) #NEWLINE# db . create_table ( 'library_suite' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'created_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 469040 ) ) ) , ( 'created_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'modified_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 469222 ) ) ) , ( 'modified_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'deleted_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( db_index = True , null = True , blank = True ) ) , ( 'deleted_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'status' , self . gf ( 'django.db.models.fields.CharField' ) ( default = 'draft' , max_length = 30 , db_index = True ) ) , ( 'product' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'suites' , to = orm [ 'core.Product' ] ) ) , ( 'name' , self . gf ( 'django.db.models.fields.CharField' ) ( max_length = 200 ) ) , ( 'description' , self . gf ( 'django.db.models.fields.TextField' ) ( blank = True ) ) ) ) #NEWLINE# db . send_create_signal ( 'library' , [ 'Suite' ] ) #NEWLINE# db . create_table ( 'library_suitecase' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'created_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 464668 ) ) ) , ( 'created_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'modified_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( default = datetime . datetime ( 2012 , 1 , 24 , 0 , 52 , 10 , 464857 ) ) ) , ( 'modified_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'deleted_on' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( db_index = True , null = True , blank = True ) ) , ( 'deleted_by' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( blank = True , related_name = '+' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'suite' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'suitecases' , to = orm [ 'library.Suite' ] ) ) , ( 'case' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'suitecases' , to = orm [ 'library.Case' ] ) ) , ( 'order' , self . gf ( 'django.db.models.fields.IntegerField' ) ( default = 0 , db_index = True ) ) ) ) #NEWLINE# db . send_create_signal ( 'library' , [ 'SuiteCase' ] ) #NEWLINE# db . create_unique ( 'library_suitecase' , [ 'suite_id' , 'case_id' ] )