| 83 | * 轉出來的結果有錯,因為有用到 sequence (序列) |
| 84 | {{{ |
| 85 | #!diff |
| 86 | --- account.sql.org 2008-10-15 23:23:54.000000000 +0800 |
| 87 | +++ account.sql 2008-10-15 23:24:12.000000000 +0800 |
| 88 | @@ -1,5 +1,5 @@ |
| 89 | collation database utf8_unicode_ci |
| 90 | CREATE TABLE account ( |
| 91 | - int(11) auto_increment smallint auto_increment NOT NULL, |
| 92 | + serial int(11) auto_increment NOT NULL, |
| 93 | name varchar(10) NOT NULL, |
| 94 | tel varchar(20) NOT NULL, |
| 95 | fax varchar(20), |
| 96 | @@ -10,5 +10,5 @@ |
| 97 | admin bool NOT NULL, |
| 98 | account varchar(20) NOT NULL, |
| 99 | password varchar(20) NOT NULL |
| 100 | -, PRIMARY KEY(`int(11)`) |
| 101 | +, PRIMARY KEY(`serial`) |
| 102 | - ) TYPE=MyISAM; |
| 103 | + ) TYPE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; |
| 104 | }}} |