CREATE TABLE `psi_innovation_hubs` (
  `hub_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `hub_date` date DEFAULT NULL,
  `hub_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `hub_address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `hub_longitude` double DEFAULT '0',
  `hub_latitude` double DEFAULT '0',
  `hub_elevation` double DEFAULT '0',
  `hub_remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `province_id` bigint(20) unsigned DEFAULT '0',
  `city_id` bigint(20) unsigned DEFAULT '0',
  `barangay_id` bigint(20) unsigned DEFAULT '0',
  `ug_id` bigint(20) unsigned DEFAULT '0',
  `encoder` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `date_encoded` datetime DEFAULT NULL,
  `updater` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `last_updated` datetime DEFAULT NULL,
  `hubt_id` bigint(20) unsigned DEFAULT '0',
  `region_id` bigint(20) unsigned DEFAULT '6',
  `synched` tinyint(1) unsigned DEFAULT '0',
  `sync_date` datetime DEFAULT NULL,
  PRIMARY KEY (`hub_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

