CREATE TABLE `psi_consultancies` (
  `con_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `con_start` date DEFAULT NULL,
  `con_end` date DEFAULT NULL,
  `con_type_id` bigint(20) unsigned DEFAULT '0',
  `prj_id` bigint(20) unsigned DEFAULT '0',
  `coop_id` bigint(20) unsigned DEFAULT '0',
  `sp_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,
  `con_no_participants` int(10) unsigned DEFAULT '0',
  `con_no_firms` int(10) unsigned DEFAULT '0',
  `con_no_po` int(10) unsigned DEFAULT '0',
  `region_id` bigint(20) unsigned DEFAULT '6',
  `synched` tinyint(1) unsigned DEFAULT '0',
  `sync_date` datetime DEFAULT NULL,
  `con_cost` decimal(65,3) unsigned DEFAULT '0.000',
  PRIMARY KEY (`con_id`)
) ENGINE=InnoDB AUTO_INCREMENT=297 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

