forked from xiangwang25/whale-town-end-v2
feat: deploy adventure wallet progression
This commit is contained in:
8
src/core/db/user_wallets/add-adventure-state.sql
Normal file
8
src/core/db/user_wallets/add-adventure-state.sql
Normal 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;
|
||||
Reference in New Issue
Block a user