feat: deploy adventure wallet progression

This commit is contained in:
2026-09-19 04:19:41 +08:00
parent fdb36558d3
commit 37c97708e3
14 changed files with 362 additions and 32 deletions

View File

@@ -0,0 +1,8 @@
SET @ddl = IF(
EXISTS(SELECT 1 FROM information_schema.columns WHERE table_schema = DATABASE() AND table_name = 'user_wallets' AND column_name = 'adventure'),
'SELECT 1',
'ALTER TABLE user_wallets ADD COLUMN adventure JSON NULL'
);
PREPARE stmt FROM @ddl;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;