-- card_channel_assoc.channel_id historically mixed primary IDs and numeric channel keys. -- Store the actual t_sim_channels.chan_key so every environment resolves associations identically. ALTER TABLE `card_channel_assoc` MODIFY COLUMN `channel_id` VARCHAR(64) NOT NULL COMMENT 'é€šé“įž–å·';