Updated MR reference
This commit is contained in:
parent
b4991050c6
commit
5c535514e1
|
@ -9,15 +9,4 @@ DELETE FROM `tconfig` WHERE `token` LIKE 'integria_api_password';
|
|||
DELETE FROM `tconfig` WHERE `token` LIKE 'integria_inventory';
|
||||
DELETE FROM `tconfig` WHERE `token` LIKE 'integria_url';
|
||||
|
||||
ALTER TABLE `tdatabase` MODIFY `last_error` text;
|
||||
ALTER TABLE `tdatabase` MODIFY `host` VARCHAR(255);
|
||||
ALTER TABLE `tdatabase` ADD COLUMN `label` VARCHAR(255);
|
||||
ALTER TABLE `tdatabase` MODIFY `os_user` VARCHAR(255);
|
||||
ALTER TABLE `tdatabase` MODIFY `db_port` INT UNSIGNED NOT NULL;
|
||||
ALTER TABLE `tdatabase` MODIFY `os_port` INT UNSIGNED NOT NULL;
|
||||
ALTER TABLE `tdatabase` ADD COLUMN `ssh_key` TEXT;
|
||||
ALTER TABLE `tdatabase` ADD COLUMN `ssh_pubkey` TEXT;
|
||||
|
||||
UPDATE `tdatabase` set `label`=`host`;
|
||||
|
||||
COMMIT;
|
|
@ -0,0 +1,14 @@
|
|||
START TRANSACTION
|
||||
|
||||
ALTER TABLE `tdatabase` MODIFY `last_error` text;
|
||||
ALTER TABLE `tdatabase` MODIFY `host` VARCHAR(255);
|
||||
ALTER TABLE `tdatabase` ADD COLUMN `label` VARCHAR(255);
|
||||
ALTER TABLE `tdatabase` MODIFY `os_user` VARCHAR(255);
|
||||
ALTER TABLE `tdatabase` MODIFY `db_port` INT UNSIGNED NOT NULL;
|
||||
ALTER TABLE `tdatabase` MODIFY `os_port` INT UNSIGNED NOT NULL;
|
||||
ALTER TABLE `tdatabase` ADD COLUMN `ssh_key` TEXT;
|
||||
ALTER TABLE `tdatabase` ADD COLUMN `ssh_pubkey` TEXT;
|
||||
|
||||
UPDATE `tdatabase` set `label`=`host`;
|
||||
|
||||
COMMIT
|
Loading…
Reference in New Issue