Files
moonwell-core-vanilla/sql/migrations/20221111031829_logon.sql
ratkosrb a1cf05688d Fixes for Warden on Mac. (#1696)
- Scans for Mac weren't even being loaded, so the string hash request was never sent.
- The game crashed if you connected with the PPC client, because it was being sent a x86 module.
- The structure of WARDEN_SMSG_CHEAT_CHECKS_REQUEST was wrong for Mac.
- Added back the Warden.DebugLog option so I can actually see what's happening in the console.
2022-11-12 10:21:48 +02:00

22 lines
483 B
SQL

DROP PROCEDURE IF EXISTS add_migration;
delimiter ??
CREATE PROCEDURE `add_migration`()
BEGIN
DECLARE v INT DEFAULT 1;
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20221111031829');
IF v=0 THEN
INSERT INTO `migrations` VALUES ('20221111031829');
-- Add your query below.
ALTER TABLE `account`
ADD COLUMN `platform` VARCHAR(4) NOT NULL DEFAULT '' AFTER `os`;
-- End of migration.
END IF;
END??
delimiter ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;