New SQL schema migrate fix

'server_host' column on 'route' table already exists in old schema and
does not need adding for new schema migration.
This commit is contained in:
Stu Tomlinson
2022-11-17 12:03:09 +00:00
parent 19f2f1fa86
commit 93bf4d5411
2 changed files with 0 additions and 10 deletions
-5
View File
@@ -170,11 +170,6 @@
-- CREATE INDEX i_mix_pam_us ON mix_pam (username, server_host);
-- ALTER TABLE mix_pam ALTER COLUMN server_host DROP DEFAULT;
-- ALTER TABLE route ADD COLUMN server_host text NOT NULL DEFAULT '<HOST>';
-- DROP INDEX i_route;
-- CREATE UNIQUE INDEX i_route ON route USING btree (domain, server_host, node, pid);
-- ALTER TABLE i_route ALTER COLUMN server_host DROP DEFAULT;
-- ALTER TABLE mqtt_pub ADD COLUMN server_host text NOT NULL DEFAULT '<HOST>';
-- DROP INDEX i_mqtt_topic;
-- CREATE UNIQUE INDEX i_mqtt_topic_server ON mqtt_pub (topic, server_host);