CREATE TABLE `bvur`.`analytics_records` (
  `id` VARCHAR(45) NOT NULL,
  `ref_id` VARCHAR(45) NOT NULL,
  `user_id` VARCHAR(45) NOT NULL,
  `device_id` VARCHAR(45) NOT NULL,
  `event_type` VARCHAR(45) NOT NULL,
  `sub_type` VARCHAR(45) NOT NULL,
  `id_address` VARCHAR(45) NOT NULL,
  `created_at` DATETIME NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE INDEX `id_UNIQUE` (`id` ASC) VISIBLE);