CREATE TABLE `psi_activities` (
  `activity_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `activity_type_id` bigint(20) unsigned DEFAULT '0',
  `activity_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `activity_address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `activity_target_date` date DEFAULT NULL,
  `activity_date_accomplished` date DEFAULT NULL,
  `activity_csf` double unsigned DEFAULT '0',
  `activity_remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `activity_no_participants` int(10) unsigned DEFAULT '0',
  `activity_no_male` int(10) unsigned DEFAULT '0',
  `activity_no_female` int(10) unsigned DEFAULT '0',
  `activity_no_pwd` int(10) unsigned DEFAULT '0',
  `activity_no_senior` int(10) 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,
  `activity_no_articles` bigint(20) unsigned DEFAULT '1',
  `region_id` bigint(20) unsigned DEFAULT '6',
  `synched` tinyint(1) unsigned DEFAULT '0',
  `sync_date` datetime DEFAULT NULL,
  `ug_id` bigint(20) unsigned DEFAULT '0',
  `province_id` bigint(20) unsigned DEFAULT '0',
  `city_id` bigint(20) unsigned DEFAULT '0',
  `barangay_id` bigint(20) unsigned DEFAULT '0',
  `activity_longitude` double unsigned DEFAULT '0',
  `activity_latitude` double unsigned DEFAULT '0',
  `activity_elevation` double unsigned DEFAULT '0',
  `activity_cost` decimal(65,3) unsigned DEFAULT '0.000',
  PRIMARY KEY (`activity_id`)
) ENGINE=InnoDB AUTO_INCREMENT=1203 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

