#NEWLINE# def forwards( self , orm ) : #NEWLINE# #INDENT# db . create_table ( 'dotastats_steamplayer' , ( ( 'steamid' , self . gf ( 'django.db.models.fields.BigIntegerField' ) ( unique = True , primary_key = True ) ) , ( 'last_refresh' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( auto_now = True , auto_now_add = True , db_index = True , blank = True ) ) , ( 'personaname' , self . gf ( 'django.db.models.fields.TextField' ) ( ) ) , ( 'profileurl' , self . gf ( 'django.db.models.fields.TextField' ) ( blank = True ) ) , ( 'avatar' , self . gf ( 'django.db.models.fields.TextField' ) ( blank = True ) ) , ( 'avatarmedium' , self . gf ( 'django.db.models.fields.TextField' ) ( blank = True ) ) , ( 'avatarfull' , self . gf ( 'django.db.models.fields.TextField' ) ( blank = True ) ) , ( 'lastlogoff' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( null = True ) ) ) ) #NEWLINE# db . send_create_signal ( 'dotastats' , [ 'SteamPlayer' ] ) #NEWLINE# db . create_table ( 'dotastats_items' , ( ( 'item_id' , self . gf ( 'django.db.models.fields.IntegerField' ) ( primary_key = True ) ) , ( 'client_name' , self . gf ( 'django.db.models.fields.TextField' ) ( ) ) ) ) #NEWLINE# db . send_create_signal ( 'dotastats' , [ 'Items' ] ) #NEWLINE# db . create_table ( 'dotastats_heroes' , ( ( 'hero_id' , self . gf ( 'django.db.models.fields.IntegerField' ) ( primary_key = True ) ) , ( 'client_name' , self . gf ( 'django.db.models.fields.TextField' ) ( ) ) , ( 'dota2_name' , self . gf ( 'django.db.models.fields.TextField' ) ( ) ) ) ) #NEWLINE# db . send_create_signal ( 'dotastats' , [ 'Heroes' ] ) #NEWLINE# db . create_table ( 'dotastats_matchhistoryqueue' , ( ( 'match_id' , self . gf ( 'django.db.models.fields.BigIntegerField' ) ( unique = True , primary_key = True ) ) , ( 'last_refresh' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( auto_now = True , auto_now_add = True , blank = True ) ) , ( 'match_seq_num' , self . gf ( 'django.db.models.fields.BigIntegerField' ) ( ) ) , ( 'start_time' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( ) ) , ( 'lobby_type' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) ) ) #NEWLINE# db . send_create_signal ( 'dotastats' , [ 'MatchHistoryQueue' ] ) #NEWLINE# db . create_table ( 'dotastats_matchhistoryqueueplayers' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'match_history_queue' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( to = orm [ 'dotastats.MatchHistoryQueue' ] ) ) , ( 'account_id' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , null = True , db_column = 'account_id' , to = orm [ 'dotastats.SteamPlayer' ] ) ) , ( 'player_slot' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'hero_id' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , db_column = 'hero_id' , to = orm [ 'dotastats.Heroes' ] ) ) , ( 'is_bot' , self . gf ( 'django.db.models.fields.BooleanField' ) ( default = False ) ) ) ) #NEWLINE# db . send_create_signal ( 'dotastats' , [ 'MatchHistoryQueuePlayers' ] ) #NEWLINE# db . create_unique ( 'dotastats_matchhistoryqueueplayers' , [ 'match_history_queue_id' , 'hero_id' , 'player_slot' ] ) #NEWLINE# db . create_table ( 'dotastats_matchdetails' , ( ( 'match_id' , self . gf ( 'django.db.models.fields.BigIntegerField' ) ( unique = True , primary_key = True ) ) , ( 'last_refresh' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( auto_now = True , auto_now_add = True , blank = True ) ) , ( 'match_seq_num' , self . gf ( 'django.db.models.fields.BigIntegerField' ) ( ) ) , ( 'season' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'radiant_win' , self . gf ( 'django.db.models.fields.BooleanField' ) ( default = False ) ) , ( 'duration' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'start_time' , self . gf ( 'django.db.models.fields.DateTimeField' ) ( ) ) , ( 'tower_status_radiant' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'tower_status_dire' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'barracks_status_radiant' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'barracks_status_dire' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'cluster' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'first_blood_time' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'lobby_type' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'human_players' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'leagueid' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'positive_votes' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'negative_votes' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'game_mode' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) ) ) #NEWLINE# db . send_create_signal ( 'dotastats' , [ 'MatchDetails' ] ) #NEWLINE# db . create_table ( 'dotastats_matchpicksbans' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'match_details' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( to = orm [ 'dotastats.MatchDetails' ] ) ) , ( 'is_pick' , self . gf ( 'django.db.models.fields.BooleanField' ) ( default = False ) ) , ( 'hero_id' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , db_column = 'hero_id' , to = orm [ 'dotastats.Heroes' ] ) ) , ( 'team' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'order' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) ) ) #NEWLINE# db . send_create_signal ( 'dotastats' , [ 'MatchPicksBans' ] ) #NEWLINE# db . create_unique ( 'dotastats_matchpicksbans' , [ 'match_details_id' , 'hero_id' , 'order' ] ) #NEWLINE# db . create_table ( 'dotastats_matchdetailsplayerentry' , ( ( 'id' , self . gf ( 'django.db.models.fields.AutoField' ) ( primary_key = True ) ) , ( 'match_details' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( to = orm [ 'dotastats.MatchDetails' ] ) ) , ( 'account_id' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , null = True , db_column = 'account_id' , to = orm [ 'dotastats.SteamPlayer' ] ) ) , ( 'player_slot' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'hero_id' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , db_column = 'hero_id' , to = orm [ 'dotastats.Heroes' ] ) ) , ( 'item_0' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , null = True , db_column = 'item_0' , to = orm [ 'dotastats.Items' ] ) ) , ( 'item_1' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , null = True , db_column = 'item_1' , to = orm [ 'dotastats.Items' ] ) ) , ( 'item_2' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , null = True , db_column = 'item_2' , to = orm [ 'dotastats.Items' ] ) ) , ( 'item_3' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , null = True , db_column = 'item_3' , to = orm [ 'dotastats.Items' ] ) ) , ( 'item_4' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , null = True , db_column = 'item_4' , to = orm [ 'dotastats.Items' ] ) ) , ( 'item_5' , self . gf ( 'django.db.models.fields.related.ForeignKey' ) ( related_name = '+' , null = True , db_column = 'item_5' , to = orm [ 'dotastats.Items' ] ) ) , ( 'kills' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'deaths' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'assists' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'leaver_status' , self . gf ( 'django.db.models.fields.IntegerField' ) ( null = True ) ) , ( 'gold' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'last_hits' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'denies' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'gold_per_min' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'xp_per_min' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'gold_spent' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'hero_damage' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'tower_damage' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'hero_healing' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'level' , self . gf ( 'django.db.models.fields.IntegerField' ) ( ) ) , ( 'ability_upgrades' , self . gf ( 'django.db.models.fields.TextField' ) ( null = True ) ) , ( 'is_bot' , self . gf ( 'django.db.models.fields.BooleanField' ) ( default = False ) ) ) ) #NEWLINE# db . send_create_signal ( 'dotastats' , [ 'MatchDetailsPlayerEntry' ] ) #NEWLINE# db . create_unique ( 'dotastats_matchdetailsplayerentry' , [ 'match_details_id' , 'hero_id' , 'player_slot' ] )