-- Deploy gaia:2018_07_30_create_api_tab_operation to mysql

BEGIN;

-- XXX Add DDLs here.
CREATE TABLE `api_tab_operate` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `tab` varchar(30) NOT NULL,
    `card_type` varchar(30) NOT NULL,
    `card_id` integer NOT NULL,
    `rank` integer NOT NULL,
    `is_online` bool NOT NULL
)
;

COMMIT;
