CREATE TABLE `psi_project_documents` (
  `doc_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `doc_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `doc_filename` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '',
  `doc_remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `prj_id` bigint(20) unsigned DEFAULT '0',
  `doctype_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,
  `region_id` bigint(20) unsigned DEFAULT '6',
  `synched` tinyint(1) unsigned DEFAULT '0',
  `sync_date` datetime DEFAULT NULL,
  PRIMARY KEY (`doc_id`)
) ENGINE=InnoDB AUTO_INCREMENT=6331 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

