sql_DB_layout
上传用户:tany51
上传日期:2013-06-12
资源大小:1397k
文件大小:4k
- # this file determines the layout of the PvPGN SQL database
- # the server will create the tables with their columns as specified in here
- # don't forget to create the DB yourself
- # no empty lines allowed, no whitespaces in front of any entries allowed
- # file format:
- # [name_of_a_table]
- # "column_name with format infos","default value"
- [BNET]
- "uid int NOT NULL PRIMARY KEY","'0'"
- "acct_username varchar(32)","NULL"
- "acct_userid int","NULL"
- "acct_passhash1 varchar(128)","NULL"
- "acct_email varchar(128)","NULL"
- "auth_admin varchar(16)","'false'"
- "auth_normallogin varchar(16)","'true'"
- "auth_changepass varchar(16)","'true'"
- "auth_changeprofile varchar(16)","'true'"
- "auth_botlogin varchar(16)","'true'"
- "auth_operator varchar(16)","'false'"
- "new_at_team_flag int","'0'"
- "auth_lockk varchar(16)","'0'"
- "auth_command_groups varchar(128)","'1'"
- "acct_lastlogin_time int","'0'"
- "acct_lastlogin_owner varchar(128)","NULL"
- "acct_lastlogin_clienttag varchar(128)","NULL"
- "acct_lastlogin_ip varchar(32)","NULL"
- [friend]
- "uid int NOT NULL PRIMARY KEY","'0'"
- [profile]
- "uid int NOT NULL PRIMARY KEY","'0'"
- "sex varchar(16)","NULL"
- "location varchar(128)","NULL"
- "description varchar(256)","NULL"
- "age varchar(16)","NULL"
- "clanname varchar(48)","NULL"
- [Record]
- "uid int NOT NULL PRIMARY KEY","'0'"
- "WAR3_solo_xp int","'0'"
- "WAR3_solo_level int","'0'"
- "WAR3_solo_wins int","'0'"
- "WAR3_solo_rank int","'0'"
- "WAR3_solo_losses int","'0'"
- "WAR3_team_xp int","'0'"
- "WAR3_team_level int","'0'"
- "WAR3_team_rank int","'0'"
- "WAR3_team_wins int","'0'"
- "WAR3_team_losses int","'0'"
- "WAR3_ffa_xp int","'0'"
- "WAR3_ffa_rank int","'0'"
- "WAR3_ffa_level int","'0'"
- "WAR3_ffa_wins int","'0'"
- "WAR3_ffa_losses int","'0'"
- "WAR3_orcs_wins int","'0'"
- "WAR3_orcs_losses int","'0'"
- "WAR3_humans_wins int","'0'"
- "WAR3_humans_losses int","'0'"
- "WAR3_undead_wins int","'0'"
- "WAR3_undead_losses int","'0'"
- "WAR3_nightelves_wins int","'0'"
- "WAR3_nightelves_losses int","'0'"
- "WAR3_random_wins int","'0'"
- "WAR3_random_losses int","'0'"
- "WAR3_teamcount int","'0'"
- "WAR3_userselected_icon varchar(16)","NULL"
- "W3XP_solo_xp int","'0'"
- "W3XP_solo_level int","'0'"
- "W3XP_solo_wins int","'0'"
- "W3XP_solo_rank int","'0'"
- "W3XP_solo_losses int","'0'"
- "W3XP_team_xp int","'0'"
- "W3XP_team_level int","'0'"
- "W3XP_team_rank int","'0'"
- "W3XP_team_wins int","'0'"
- "W3XP_team_losses int","'0'"
- "W3XP_ffa_xp int","'0'"
- "W3XP_ffa_rank int","'0'"
- "W3XP_ffa_level int","'0'"
- "W3XP_ffa_wins int","'0'"
- "W3XP_ffa_losses int","'0'"
- "W3XP_orcs_wins int","'0'"
- "W3XP_orcs_losses int","'0'"
- "W3XP_humans_wins int","'0'"
- "W3XP_humans_losses int","'0'"
- "W3XP_undead_wins int","'0'"
- "W3XP_undead_losses int","'0'"
- "W3XP_nightelves_wins int","'0'"
- "W3XP_nightelves_losses int","'0'"
- "W3XP_random_wins int","'0'"
- "W3XP_random_losses int","'0'"
- "W3XP_teamcount int","'0'"
- "W3XP_userselected_icon varchar(16)","NULL"
- "STAR_0_wins int","'0'"
- "STAR_0_losses int","'0'"
- "STAR_0_disconnects int","'0'"
- "STAR_1_wins int","'0'"
- "STAR_1_losses int","'0'"
- "STAR_1_disconnects int","'0'"
- "STAR_0_last_game int","'0'"
- "STAR_0_last_game_result varchar(128)","NULL"
- "STAR_1_last_game int","'0'"
- "STAR_1_last_game_result varchar(128)","NULL"
- "STAR_1_rating int","'0'"
- "STAR_1_high_rating int","'0'"
- "STAR_1_rank int","'0'"
- "STAR_1_high_rank int","'0'"
- "SEXP_0_wins int","'0'"
- "SEXP_0_losses int","'0'"
- "SEXP_0_disconnects int","'0'"
- "SEXP_1_wins int","'0'"
- "SEXP_1_losses int","'0'"
- "SEXP_1_disconnects int","'0'"
- "SEXP_0_last_game int","'0'"
- "SEXP_0_last_game_result varchar(128)","NULL"
- "SEXP_1_last_game int","'0'"
- "SEXP_1_last_game_result varchar(128)","NULL"
- "SEXP_1_rating int","'0'"
- "SEXP_1_high_rating int","'0'"
- "SEXP_1_rank int","'0'"
- "SEXP_1_high_rank int","'0'"
- [Team]
- "uid int NOT NULL PRIMARY KEY","'0'"
- [clan]
- "cid int NOT NULL PRIMARY KEY","'0'"
- "short int","'0'"
- "name varchar(30)","NULL"
- "motd varchar(30)","NULL",
- "creation_time int","'0'"
- [clanmember]
- "uid int NOT NULL PRIMARY KEY","'0'"
- "cid int","'0'"
- "status int","'0'"
- "join_time int","'0'"