Skip to content

Commit

Permalink
quick upgrade script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jun 27, 2020
1 parent 85b29f0 commit c33cc92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sql/5_0_2-to-6_0_0_upgrade.sql
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,10 @@ ALTER TABLE `users` ADD `uuid` binary(16) DEFAULT NULL;
CREATE UNIQUE INDEX `uuid` ON `users` (`uuid`);
#EndIf

#IfMissingColumn uuid_registry table_vertical
ALTER TABLE `uuid_registry` ADD `table_vertical` varchar(255) NOT NULL DEFAULT '';
#EndIf

#IfMissingColumn facility_user_ids uuid
ALTER TABLE `facility_user_ids` ADD `uuid` binary(16) DEFAULT NULL;
#EndIf
Expand All @@ -746,7 +750,3 @@ ALTER TABLE `facility_user_ids` ADD `uuid` binary(16) DEFAULT NULL;
#IfNotIndex facility_user_ids uuid
CREATE INDEX `uuid` ON `facility_user_ids` (`uuid`);
#EndIf

#IfMissingColumn uuid_registry table_vertical
ALTER TABLE `uuid_registry` ADD `table_vertical` varchar(255) NOT NULL DEFAULT '';
#EndIf

0 comments on commit c33cc92

Please sign in to comment.