-- Revert gaia:api_2017_03_10_add_rank_for_api_searchkeyword from mysql

BEGIN;

ALTER TABLE `api_searchkeyword` DROP COLUMN `rank`;
ALTER TABLE `api_searchkeyword` CHANGE COLUMN `is_online` `is_deleted` bool;

COMMIT;
