CREATE TABLE `psi_project_sites` (
  `prj_site_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `prj_site_date` date DEFAULT NULL,
  `prj_site_remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `prj_site_address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `prj_site_longitude` double DEFAULT '0',
  `prj_site_latitude` double DEFAULT '0',
  `prj_site_elevation` double DEFAULT '0',
  `brand_id` bigint(20) unsigned DEFAULT '0',
  `prj_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,
  `province_id` bigint(20) unsigned DEFAULT '0',
  `city_id` bigint(20) unsigned DEFAULT '0',
  `barangay_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 (`prj_site_id`),
  UNIQUE KEY `prj_site_id_UNIQUE` (`prj_site_id`)
) ENGINE=InnoDB AUTO_INCREMENT=98 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

