#NEWLINE# def forwards( self , orm ) : #NEWLINE# #INDENT# db . create_table ( 'stacktach_tenantinfo' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'tenant' , self . gf ( 'django.db.models.fields.CharField' ) ( unique = True , max_length = 50 , db_index = True ) ) , ( 'name' , self . gf ( 'django.db.models.fields.CharField' ) ( db_index = True , max_length = 100 , null = True , blank = True ) ) , ( 'last_updated' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( db_index = True ) ) ) ) #NEWLINE# db . send_create_signal ( 'stacktach' , [ 'TenantInfo' ] ) #NEWLINE# m2m_table_name = db . shorten_name ( 'stacktach_tenantinfo_types' ) #NEWLINE# db . create_table ( m2m_table_name , ( ( 'id' , models . AutoField ( verbose_name = 'ID' , primary_key = True , auto_created = True ) ) , ( 'tenantinfo' , models . ForeignKey ( orm [ 'stacktach.tenantinfo' ] , null = False ) ) , ( 'tenanttype' , models . ForeignKey ( orm [ 'stacktach.tenanttype' ] , null = False ) ) ) ) #NEWLINE# db . create_unique ( m2m_table_name , [ 'tenantinfo_id' , 'tenanttype_id' ] ) #NEWLINE# db . create_table ( 'stacktach_tenanttype' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'name' , self . gf ( 'django.db.models.fields.CharField' ) ( max_length = 50 , db_index = True ) ) , ( 'value' , self . gf ( 'django.db.models.fields.CharField' ) ( max_length = 50 , db_index = True ) ) ) ) #NEWLINE# db . send_create_signal ( 'stacktach' , [ 'TenantType' ] )