-- Deploy gaia:api_2017_06_28_create_table_api_categorygadget to mysql

BEGIN;

CREATE TABLE `api_categorygadget` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `title` varchar(128) NOT NULL,
    `is_online` bool NOT NULL,
    `start_time` datetime(6) NOT NULL,
    `end_time` datetime(6),
    `image_data` longtext NOT NULL
)
;

COMMIT;
