diff --git a/src/main/resources/db/migration/mariadb/V1000_18__opt_out_of_leaderboard.sql b/src/main/resources/db/migration/mariadb/V1000_18__opt_out_of_leaderboard.sql new file mode 100644 index 00000000..fd3b543e --- /dev/null +++ b/src/main/resources/db/migration/mariadb/V1000_18__opt_out_of_leaderboard.sql @@ -0,0 +1,4 @@ +-- If the column does not exist, add it +ALTER TABLE `aqua_net_user` + ADD COLUMN IF NOT EXISTS `opt_out_of_leaderboard` bit NOT NULL DEFAULT b'0'; + diff --git a/src/main/resources/db/migration/mariadb/V263__opt_out_of_leaderboard.sql b/src/main/resources/db/migration/mariadb/V263__opt_out_of_leaderboard.sql deleted file mode 100644 index 57b81481..00000000 --- a/src/main/resources/db/migration/mariadb/V263__opt_out_of_leaderboard.sql +++ /dev/null @@ -1,2 +0,0 @@ -ALTER TABLE `aqua_net_user` - ADD COLUMN `opt_out_of_leaderboard` bit NOT NULL DEFAULT b'0';