-- Deploy gaia:create_table_api_industry_news to mysql

BEGIN;

CREATE TABLE `api_industry_news` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `title` varchar(50) NOT NULL,
    `content` longtext NOT NULL,
    `ordering` integer NOT NULL,
    `begin_time` datetime(6) NOT NULL,
    `end_time` datetime(6),
    `is_online` bool NOT NULL,
    `created_time` datetime(6) NOT NULL,
    `updated_time` datetime(6) NOT NULL
)
;
CREATE INDEX `api_industry_news_9246ed76` ON `api_industry_news` (`title`);

COMMIT;
