#NEWLINE# def forwards( self , orm ) : #NEWLINE# #INDENT# db . create_table ( 'zorna_site_registration' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'site' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'site_owner_site_siteregistration_related' , null = True , to = self [ 'sites.Site' ] ) ) , ( 'owner' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'user_owner_site_siteregistration_related' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'modifier' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'user_modifier_site_siteregistration_related' , null = True , to = orm [ 'auth.User' ] ) ) , ( 'time_created' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( auto_now_add = True , blank = True ) ) , ( 'time_updated' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( auto_now = True , auto_now_add = True , blank = True ) ) , ( 'enabled' , self . gf ( 'django.db.models.fields.BooleanField' ) ( default = False ) ) , ( 'allow_registration' , self . gf ( 'django.db.models.fields.BooleanField' ) ( default = False ) ) , ( 'validation_type' , self . gf ( 'django.db.models.fields.IntegerField' ) ( default = 0 , max_length = 1 ) ) ) ) #NEWLINE# db . send_create_signal ( 'site' , [ 'SiteRegistration' ] ) #NEWLINE# db . create_table ( 'zorna_site_registration_groups' , ( ( 'id' , models . AutoField ( verbose_name = 'ID' , primary_key = True , auto_created = True ) ) , ( 'siteregistration' , models . ForeignKey ( orm [ 'site.siteregistration' ] , null = False ) ) , ( 'usergroup' , models . ForeignKey ( orm [ 'account.usergroup' ] , null = False ) ) ) ) #NEWLINE# db . create_unique ( 'zorna_site_registration_groups' , [ 'siteregistration_id' , 'usergroup_id' ] )