7 lines
254 B
MySQL
7 lines
254 B
MySQL
|
ALTER TABLE `vn`.`travelThermograph`
|
||
|
ADD COLUMN `id` INT NOT NULL AUTO_INCREMENT FIRST,
|
||
|
DROP PRIMARY KEY,
|
||
|
ADD PRIMARY KEY (`id`);
|
||
|
|
||
|
ALTER TABLE `vn`.`travelThermograph`
|
||
|
ADD UNIQUE INDEX `thermograph_created` (`thermographFk` ASC, `created` ASC) VISIBLE;
|