-- Deploy gaia:api_2017_09_13_create_api_couponchannel to mysql

BEGIN;

-- XXX Add DDLs here.
CREATE TABLE `api_couponchannel` (
    `id` INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `name` VARCHAR(100) NOT NULL,
    `number` INTEGER NOT NULL,
    `phone_image` VARCHAR(256) NOT NULL,
    `coupon_image` VARCHAR(256) NOT NULL,
    `package_id` INTEGER NOT NULL,
    `download` VARCHAR(256) NOT NULL
)
;

COMMIT;
