somehow the 1.31.45 update got included

pull/2874/head
Isaac Connor 2018-07-10 11:02:48 -04:00
parent a26ab59c30
commit 5010488fbf
1 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
--
-- Update Servers table to have a PathPrefix field
--
SET @s = (SELECT IF(
(SELECT COUNT(*)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_name = 'Servers'
AND table_schema = DATABASE()
AND column_name = 'PathPrefix'
) > 0,
"SELECT 'Column PathPrefix already exists in Servers'",
"ALTER TABLE `Servers` ADD COLUMN `PathPrefix` TEXT AFTER Hostname"
));
PREPARE stmt FROM @s;
EXECUTE stmt;