-- Deploy gaia:gm_ai_2020_05_07_create_kyc_table to mysql

BEGIN;

CREATE TABLE `api_ai_feed_kyc` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `device_id` varchar(128) NOT NULL,
  `image_url` varchar(300) NULL,
  `face_shape` varchar(64) NOT NULL,
  `face_style` varchar(64) NOT NULL,
  `face_feature` varchar(64) NOT NULL,
  `created_time` datetime(6) NOT NULL,
  `updated_time` datetime(6) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `api_ai_feed_kyc_e8701ad4` (`user_id`),
  KEY `api_ai_feed_kyc_9379346c` (`device_id`)
);

COMMIT;
