-- Deploy gaia:2020-07-23_alter_table_service_name_change_log to mysql

BEGIN;

CREATE TABLE `api_service_name_change_log` (
    `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
    `service_id` integer NOT NULL,
    `doctor_id` varchar(100) NOT NULL,
    `name` varchar(100) NOT NULL,
    `change_name` varchar(100) NOT NULL,
    `short_description` varchar(100) NOT NULL,
    `change_short_description` varchar(100) NOT NULL,
    `created_time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

COMMIT;
