Merge pull request #251 from Manawyrm/Manawyrm-patch-2
Add auto-increment flag and primary key to station_profile table
这个提交包含在:
当前提交
18cdad8eca
共有 1 个文件被更改,包括 5 次插入 和 1 次删除
|
|
@ -12,3 +12,7 @@ CREATE TABLE `station_profile` (
|
||||||
`station_cq` int(5) DEFAULT NULL,
|
`station_cq` int(5) DEFAULT NULL,
|
||||||
`station_itu` int(5) DEFAULT NULL
|
`station_itu` int(5) DEFAULT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
|
|
||||||
|
ALTER TABLE `station_profile`
|
||||||
|
MODIFY COLUMN `station_id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT FIRST ,
|
||||||
|
ADD PRIMARY KEY (`station_id`);
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用