-- Deploy gaia:api_2019_08_18_add_facial_feature_family_table to mysql

BEGIN;

CREATE TABLE `api_facial_feature_family` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `classification` varchar(64) NOT NULL,
    `facial_type` varchar(3) NOT NULL,
    `desc1` varchar(256) NOT NULL,
    `desc2` varchar(256) NOT NULL,
    `img_url` varchar(128) NOT NULL,
    `polymer_id` varchar(32) NOT NULL,
    `is_online` bool NOT NULL,
    `choice_button_words` varchar(256) NOT NULL,
    `service_button_words` varchar(256) NOT NULL,
    `created_time` datetime(6) NOT NULL,
    `updated_time` datetime(6) NOT NULL
)
;
COMMIT;
