somehow the 1.31.45 update got included
parent
a26ab59c30
commit
5010488fbf
|
@ -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;
|
|
Loading…
Reference in New Issue