7 lines
342 B
MySQL
7 lines
342 B
MySQL
|
ALTER TABLE `vn`.`sample`
|
||
|
ADD COLUMN `hasPreview` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1' AFTER `hasCompany`,
|
||
|
CHANGE COLUMN `isVisible` `isVisible` TINYINT(1) UNSIGNED NOT NULL DEFAULT '1' ,
|
||
|
CHANGE COLUMN `hasCompany` `hasCompany` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' ;
|
||
|
|
||
|
UPDATE `vn`.`sample` SET `hasPreview` = '0' WHERE (`id` = '14');
|