ALTER TABLE `merchant`
    ADD COLUMN `app_id` VARCHAR(32) NOT NULL DEFAULT '' AFTER `merchant_id`;
ALTER TABLE `merchant`
    ADD INDEX `idx_merchant_app_id` (`app_id`);
