This commit is contained in:
Isaac Connor 2018-07-10 10:31:43 -04:00
parent 3ecf0055b5
commit 77fbfccee0
2 changed files with 16 additions and 11008 deletions

16
db/zm_update-1.31.45.sql Normal file
View File

@ -0,0 +1,16 @@
--
-- 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;

File diff suppressed because it is too large Load Diff