SlimeCloud / SlimeBot

JDA-Bot um das SlimeCloud Discordteam zu unterstützen
https://discord.gg/slimecloud
GNU Affero General Public License v3.0
6 stars 6 forks source link

Update dependencies #232

Closed MineKing9534 closed 6 months ago

MineKing9534 commented 6 months ago

Checklist

Description

Update dependencies

Additional Information

The new version of JavaUtils no longer generates the two leading zeros in ids. While the old format is still compatible, it would be a lot cleaner to remove those digits in existing ids. Therefore, these commands should be executed. To ensure that no data are broken by this, a copy of all affected tables shall be made before migration.

update card_data set id = regexp_replace(id, '^0*', '', 'g');
update guild_card_profiles set id = regexp_replace(id, '^0*', '', 'g');