We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d31f1f8 commit 034ea42Copy full SHA for 034ea42
db/upgrade-10.0.0-10.1.0.sql
@@ -56,7 +56,7 @@ SET STATEMENT sql_mode='NO_AUTO_VALUE_ON_ZERO' FOR
56
INSERT IGNORE INTO `tenant` VALUES (0, 'global', NULL, NULL);
57
58
\! echo "PIDs should be unique in the password table"
59
-CREATE UNIQUE INDEX `pid_password_unique` ON password(pid);
+CREATE UNIQUE INDEX IF NOT EXISTS `pid_password_unique` ON password(pid);
60
61
\! echo "Incrementing PacketFence schema version...";
62
INSERT IGNORE INTO pf_version (id, version) VALUES (@VERSION_INT, CONCAT_WS('.', @MAJOR_VERSION, @MINOR_VERSION, @SUBMINOR_VERSION));
0 commit comments