-- Deploy gaia:2019_11_13_add_api_ai_target to mysql

BEGIN;

CREATE TABLE `api_ai_target` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `part` varchar(30) NOT NULL DEFAULT '',
    `part_type` varchar(1) NOT NULL DEFAULT '',
    `target_desc`  longtext NOT NULL DEFAULT '',
    `is_online` bool NOT NULL,
    `created_time` datetime(6) NOT NULL,
    `updated_time` datetime(6) NOT NULL
);

COMMIT;
