-- Deploy gaia:2020_03_04_add_api_plastic_template to mysql

BEGIN;

CREATE TABLE `api_plastic_template` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `face_style` varchar(200) NOT NULL,
    `fenggelian` varchar(200) NOT NULL,
    `shoulian` integer NOT NULL,
    `zhailian` integer NOT NULL,
    `dayan` integer NOT NULL,
    `yanjiaodu` integer NOT NULL,
    `shouxiahegu` integer NOT NULL,
    `shoubi` integer NOT NULL,
    `changbi` integer NOT NULL,
    `xiaba` integer NOT NULL,
    `etou` integer NOT NULL,
    `zuixing` integer NOT NULL,
    `weixiao` integer NOT NULL,
    `yanju` integer NOT NULL,
    `yanyidong` integer NOT NULL,
    `suorenzhong` integer NOT NULL,
    `heiyanquan` integer NOT NULL,
    `falingwen` integer NOT NULL,
    `created_time` datetime(6) NOT NULL,
    `updated_time` datetime(6) NOT NULL
);

COMMIT;
