-- Deploy gaia:api_2017_04_13_add_table_doctor_intelligence to mysql

BEGIN;

-- XXX Add DDLs here.
  CREATE TABLE `api_doctor_intelligence` (
      `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
      `create_time` datetime(6),
      `doctor_name` varchar(100) NOT NULL,
      `province` varchar(4) NOT NULL,
      `hospital_name` varchar(100) NOT NULL,
      `sex` varchar(2) NOT NULL,
      `level` varchar(100) NOT NULL,
      `pro_class` varchar(100) NOT NULL,
      `pro_cert_no` varchar(100) NOT NULL,
      `pro_location` varchar(100) NOT NULL,
      `pro_scope` varchar(100) NOT NULL,
      `cert_grant_org` varchar(100) NOT NULL
  );
COMMIT;
