#NEWLINE# def forwards( self , orm ) : #NEWLINE# #INDENT# db . create_table ( 'event_notificationpreferences' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'user' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'notifications' , to = orm [ 'account.CustomUser' ] ) ) , ( 'event_type' , self . gf ( 'django.db.models.fields.CharField' ) ( max_length = 32 ) ) , ( 'content_type' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( to = orm [ 'contenttypes.ContentType' ] ) ) , ( 'object_id' , self . gf ( 'django.db.models.fields.PositiveIntegerField' ) ( ) ) , ( 'is_active' , self . gf ( 'django.db.models.fields.BooleanField' ) ( ) ) ) ) #NEWLINE# db . send_create_signal ( 'event' , [ 'NotificationPreferences' ] ) #NEWLINE# db . create_unique ( 'event_notificationpreferences' , [ 'user_id' , 'event_type' , 'content_type_id' , 'object_id' ] ) #NEWLINE# db . create_table ( 'event_eventlog' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'department' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'event_log' , to = self [ 'core.Department' ] ) ) , ( 'type' , self . gf ( 'django.db.models.fields.CharField' ) ( max_length = 128 ) ) , ( 'message' , self . gf ( 'django.db.models.fields.TextField' ) ( ) ) , ( 'time' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( auto_now = True , blank = True ) ) ) ) #NEWLINE# db . send_create_signal ( 'event' , [ 'EventLog' ] )