153 | | --- maincase.sql.org 2008-10-15 23:58:18.000000000 +0800 |
154 | | +++ maincase.sql 2008-10-16 00:04:56.000000000 +0800 |
155 | | @@ -1,5 +1,5 @@ |
156 | | CREATE TABLE maincase ( |
157 | | - int(11) auto_increment int(11) auto_increment NOT NULL, |
158 | | + serial int(11) auto_increment NOT NULL, |
159 | | name varchar(60) NOT NULL, |
160 | | description varchar(255), |
161 | | storage_desc varchar(50), |
162 | | @@ -19,9 +19,9 @@ |
163 | | end_time timestamp NOT NULL, |
164 | | user_id smallint NOT NULL, |
165 | | checked bool DEFAULT 0 NOT NULL, |
166 | | - insert_time timestamp DEFAULT CURRENT_TIMESTAMP, |
167 | | + insert_time timestamp, |
168 | | cover bool DEFAULT 0 NOT NULL |
169 | | -, PRIMARY KEY(`int(11)`) |
170 | | +, PRIMARY KEY(`serial`) |
171 | | ) TYPE=MyISAM; |
| 153 | |