diff --git a/sql/record.sql b/sql/record.sql index b630606..f8d5288 100644 --- a/sql/record.sql +++ b/sql/record.sql @@ -1,17 +1,19 @@ create table record ( - id int auto_increment + id int auto_increment primary key, - a_id int null, - a_sx int null, - a_sy int null, - b_id int null, - b_sx int null, - b_sy int null, - a_steps varchar(1000) null, - b_steps varchar(1000) null, - map varchar(1000) null, - loser varchar(10) null, - createtime datetime null + a_id int null, + a_sx int null, + a_sy int null, + b_id int null, + b_sx int null, + b_sy int null, + a_steps varchar(1000) null, + b_steps varchar(1000) null, + map varchar(1000) null, + map_rows int null, + map_cols int null, + inner_walls_count int null, + loser varchar(10) null, + createtime datetime null ); -