#NEWLINE# def forwards( self , orm ) : #NEWLINE# #INDENT# db . create_table ( 'events_event' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'when' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( ) ) , ( 'what' , self . gf ( 'django.db.models.fields.TextField' ) ( ) ) , ( 'where' , self . gf ( 'django.db.models.fields.TextField' ) ( ) ) , ( 'which_type' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = 'event_for_event' , null = True , to = orm [ 'contenttypes.ContentType' ] ) ) , ( 'which_pk' , self . gf ( 'django.db.models.fields.TextField' ) ( null = True ) ) ) ) #NEWLINE# db . send_create_signal ( 'events' , [ 'Event' ] ) #NEWLINE# db . create_table ( 'events_event_who' , ( ( 'id' , models . AutoField ( verbose_name = 'ID' , primary_key = True , auto_created = True ) ) , ( 'event' , models . ForeignKey ( self [ 'events.event' ] , null = False ) ) , ( 'person' , models . ForeignKey ( orm [ 'persons.person' ] , null = False ) ) ) ) #NEWLINE# db . create_unique ( 'events_event_who' , [ 'event_id' , 'person_id' ] )