Commit cd3b3f5c1d35499250a58e54c55ce1e7b87ef206

Authored by kevin_fourie
1 parent 173e9314

Merged in from DEV trunk...

KTS-3424
"Remove reliance on zseq_tables"
Fixed. Now can now deal with the auto inc on the tables. dbutil is bypassing peardb for the id, but will be rectified in 3.6.

Committed By: Conrad Vermeulen
Reviewed By: Megan Watson


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/branches/3.5.3-Branch@8706 c91229c3-7414-0410-bfa2-8a42b809f60b
lib/database/dbutil.inc
... ... @@ -8,31 +8,31 @@
8 8 * Document Management Made Simple
9 9 * Copyright (C) 2008 KnowledgeTree Inc.
10 10 * Portions copyright The Jam Warehouse Software (Pty) Limited
11   - *
  11 + *
12 12 * This program is free software; you can redistribute it and/or modify it under
13 13 * the terms of the GNU General Public License version 3 as published by the
14 14 * Free Software Foundation.
15   - *
  15 + *
16 16 * This program is distributed in the hope that it will be useful, but WITHOUT
17 17 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18 18 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
19 19 * details.
20   - *
  20 + *
21 21 * You should have received a copy of the GNU General Public License
22 22 * along with this program. If not, see <http://www.gnu.org/licenses/>.
23   - *
24   - * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
  23 + *
  24 + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
25 25 * California 94120-7775, or email info@knowledgetree.com.
26   - *
  26 + *
27 27 * The interactive user interfaces in modified source and object code versions
28 28 * of this program must display Appropriate Legal Notices, as required under
29 29 * Section 5 of the GNU General Public License version 3.
30   - *
  30 + *
31 31 * In accordance with Section 7(b) of the GNU General Public License version 3,
32 32 * these Appropriate Legal Notices must retain the display of the "Powered by
33   - * KnowledgeTree" logo and retain the original copyright notice. If the display of the
  33 + * KnowledgeTree" logo and retain the original copyright notice. If the display of the
34 34 * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
35   - * must display the words "Powered by KnowledgeTree" and retain the original
  35 + * must display the words "Powered by KnowledgeTree" and retain the original
36 36 * copyright notice.
37 37 * Contributor( s): ______________________________________
38 38 */
... ... @@ -133,12 +133,6 @@ class DBUtil {
133 133 $default->log->error('Problem: ' . $result->getMessage());
134 134 }
135 135  
136   - function nextId($seqname, $ondemand = false, $db = null) {
137   - $db =& DBUtil::getDB($db);
138   -
139   - return $db->nextId($seqname, $ondemand);
140   - }
141   -
142 136 function runQueries($aQueries, $db = null) {
143 137 foreach ($aQueries as $sQuery) {
144 138 $res = DBUtil::runQuery($sQuery, $db);
... ... @@ -158,19 +152,15 @@ class DBUtil {
158 152 global $default;
159 153 // $default->log->debug('AutoInsert called for table ' . $sTable);
160 154 $db =& DBUtil::getDB();
161   - if (!array_key_exists('id', $aFieldValues) && ($bNoId === false)) {
162   - $res = DBUtil::nextId($sTable, null, $db);
163   - if (PEAR::isError($res)) {
164   - return $res;
165   - }
166   - $aFieldValues['id'] = $res;
167   - }
168 155 $res = $db->autoExecute($sTable, $aFieldValues);
169 156 if ($default->queryLog) {
170 157 $default->queryLog->debug('Query: ' . DBUtil::lastQuery($db));
171 158 }
172 159 if ($res === DB_OK) {
173   - return $aFieldValues['id'];
  160 + if ($bNoId)
  161 + return;
  162 + else
  163 + return mysql_insert_id();
174 164 }
175 165 if (PEAR::isError($res)) {
176 166 DBUtil::logQueryError(DBUtil::lastQuery($db), $res);
... ...
sql/mysql/install/data.sql
... ... @@ -83,7 +83,9 @@ UNLOCK TABLES;
83 83  
84 84 LOCK TABLES `archiving_type_lookup` WRITE;
85 85 /*!40000 ALTER TABLE `archiving_type_lookup` DISABLE KEYS */;
86   -INSERT INTO `archiving_type_lookup` VALUES (1,'Date'),(2,'Utilisation');
  86 +INSERT INTO `archiving_type_lookup` VALUES
  87 +(1,'Date'),
  88 +(2,'Utilisation');
87 89 /*!40000 ALTER TABLE `archiving_type_lookup` ENABLE KEYS */;
88 90 UNLOCK TABLES;
89 91  
... ... @@ -102,7 +104,21 @@ UNLOCK TABLES;
102 104  
103 105 LOCK TABLES `column_entries` WRITE;
104 106 /*!40000 ALTER TABLE `column_entries` DISABLE KEYS */;
105   -INSERT INTO `column_entries` VALUES (1,'ktcore.columns.selection','ktcore.views.browse','',0,1),(2,'ktcore.columns.title','ktcore.views.browse','',1,1),(3,'ktcore.columns.download','ktcore.views.browse','',2,0),(4,'ktcore.columns.creationdate','ktcore.views.browse','',3,0),(5,'ktcore.columns.modificationdate','ktcore.views.browse','',4,0),(6,'ktcore.columns.creator','ktcore.views.browse','',5,0),(7,'ktcore.columns.workflow_state','ktcore.views.browse','',6,0),(8,'ktcore.columns.selection','ktcore.views.search','',0,1),(9,'ktcore.columns.title','ktcore.views.search','',1,1),(10,'ktcore.columns.download','ktcore.views.search','',2,0),(11,'ktcore.columns.creationdate','ktcore.views.search','',3,0),(12,'ktcore.columns.modificationdate','ktcore.views.search','',4,0),(13,'ktcore.columns.creator','ktcore.views.search','',5,0),(14,'ktcore.columns.workflow_state','ktcore.views.search','',6,0);
  107 +INSERT INTO `column_entries` VALUES
  108 +(1,'ktcore.columns.selection','ktcore.views.browse','',0,1),
  109 +(2,'ktcore.columns.title','ktcore.views.browse','',1,1),
  110 +(3,'ktcore.columns.download','ktcore.views.browse','',2,0),
  111 +(4,'ktcore.columns.creationdate','ktcore.views.browse','',3,0),
  112 +(5,'ktcore.columns.modificationdate','ktcore.views.browse','',4,0),
  113 +(6,'ktcore.columns.creator','ktcore.views.browse','',5,0),
  114 +(7,'ktcore.columns.workflow_state','ktcore.views.browse','',6,0),
  115 +(8,'ktcore.columns.selection','ktcore.views.search','',0,1),
  116 +(9,'ktcore.columns.title','ktcore.views.search','',1,1),
  117 +(10,'ktcore.columns.download','ktcore.views.search','',2,0),
  118 +(11,'ktcore.columns.creationdate','ktcore.views.search','',3,0),
  119 +(12,'ktcore.columns.modificationdate','ktcore.views.search','',4,0),
  120 +(13,'ktcore.columns.creator','ktcore.views.search','',5,0),
  121 +(14,'ktcore.columns.workflow_state','ktcore.views.search','',6,0);
106 122 /*!40000 ALTER TABLE `column_entries` ENABLE KEYS */;
107 123 UNLOCK TABLES;
108 124  
... ... @@ -121,7 +137,7 @@ UNLOCK TABLES;
121 137  
122 138 LOCK TABLES `config_settings` WRITE;
123 139 /*!40000 ALTER TABLE `config_settings` DISABLE KEYS */;
124   -INSERT INTO `config_settings`(`id`,`group_name`,`item`,`type`,`value`,`helptext`,`default_value`,`can_edit`) VALUES
  140 +INSERT INTO `config_settings` VALUES
125 141 (1,'ui','appName','','KnowledgeTree','OEM application name','KnowledgeTree',1),
126 142 (2,'KnowledgeTree','schedulerInterval','','30','','30',1),
127 143 (3,'dashboard','alwaysShowYCOD','boolean','default','Display the \"Your Checked-out Documents\" dashlet even when empty.','0',1),
... ... @@ -139,7 +155,8 @@ INSERT INTO `config_settings`(`id`,`group_name`,`item`,`type`,`value`,`helptext`
139 155 (15,'email','emailFrom','','kt@example.org','','kt@example.org',1),
140 156 (16,'email','emailFromName','','KnowledgeTree Document Management System','','KnowledgeTree Document Management System',1),
141 157 (17,'email','allowAttachment','boolean','default','Set to true to allow users to send attachments from the document\r\n management system\r\n.','0',1),
142   -(18,'email','allowEmailAddresses','boolean','default','Set to true to allow users to send to any email address, as opposed to\r\n only users of the system\r\n.','0',1),(19,'email','sendAsSystem','boolean','default','Set to true to always send email from the emailFrom address listed above, even if there is an identifiable sending user\r\n.','0',1),
  158 +(18,'email','allowEmailAddresses','boolean','default','Set to true to allow users to send to any email address, as opposed to\r\n only users of the system\r\n.','0',1),
  159 +(19,'email','sendAsSystem','boolean','default','Set to true to always send email from the emailFrom address listed above, even if there is an identifiable sending user\r\n.','0',1),
143 160 (20,'email','onlyOwnGroups','boolean','default','Set to true to only allow users to send emails to those in the same\r\n groups as them\r\n.','0',1),
144 161 (21,'user_prefs','passwordLength','','6','Minimum password length on password-setting\r\n','6',1),
145 162 (22,'user_prefs','restrictAdminPasswords','boolean','default','Apply the minimum password length to admin while creating / editing accounts?\r\n default is set to \"false\" meaning that admins can create users with shorter passwords.\r\n','0',1),
... ... @@ -247,7 +264,12 @@ UNLOCK TABLES;
247 264  
248 265 LOCK TABLES `data_types` WRITE;
249 266 /*!40000 ALTER TABLE `data_types` DISABLE KEYS */;
250   -INSERT INTO `data_types` VALUES (1,'STRING'),(2,'CHAR'),(3,'TEXT'),(4,'INT'),(5,'FLOAT');
  267 +INSERT INTO `data_types` VALUES
  268 +(1,'STRING'),
  269 +(2,'CHAR'),
  270 +(3,'TEXT'),
  271 +(4,'INT'),
  272 +(5,'FLOAT');
251 273 /*!40000 ALTER TABLE `data_types` ENABLE KEYS */;
252 274 UNLOCK TABLES;
253 275  
... ... @@ -293,7 +315,8 @@ UNLOCK TABLES;
293 315  
294 316 LOCK TABLES `document_fields` WRITE;
295 317 /*!40000 ALTER TABLE `document_fields` DISABLE KEYS */;
296   -INSERT INTO `document_fields` VALUES (2,'Tag','STRING',0,0,0,2,0,'Tag Words',0),
  318 +INSERT INTO `document_fields` VALUES
  319 +(2,'Tag','STRING',0,0,0,2,0,'Tag Words',0),
297 320 (3,'Document Author','STRING',0,0,0,3,0,'Please add a document author',0),
298 321 (4,'Category','STRING',0,1,0,3,0,'Please select a category',1),
299 322 (5,'Media Type','STRING',0,1,0,3,0,'Please select a media type',2);
... ... @@ -333,7 +356,12 @@ UNLOCK TABLES;
333 356  
334 357 LOCK TABLES `document_link_types` WRITE;
335 358 /*!40000 ALTER TABLE `document_link_types` DISABLE KEYS */;
336   -INSERT INTO `document_link_types` VALUES (-1,'depended on','was depended on by','Depends relationship whereby one documents depends on another\'s creation to go through approval'),(0,'Default','Default (reverse)','Default link type'),(3,'Attachment','','Document Attachment'),(4,'Reference','','Document Reference'),(5,'Copy','','Document Copy');
  359 +INSERT INTO `document_link_types` VALUES
  360 +(-1,'depended on','was depended on by','Depends relationship whereby one documents depends on another\'s creation to go through approval'),
  361 +(0,'Default','Default (reverse)','Default link type'),
  362 +(3,'Attachment','','Document Attachment'),
  363 +(4,'Reference','','Document Reference'),
  364 +(5,'Copy','','Document Copy');
337 365 /*!40000 ALTER TABLE `document_link_types` ENABLE KEYS */;
338 366 UNLOCK TABLES;
339 367  
... ... @@ -406,7 +434,28 @@ UNLOCK TABLES;
406 434  
407 435 LOCK TABLES `document_transaction_types_lookup` WRITE;
408 436 /*!40000 ALTER TABLE `document_transaction_types_lookup` DISABLE KEYS */;
409   -INSERT INTO `document_transaction_types_lookup` VALUES (1,'Create','ktcore.transactions.create'),(2,'Update','ktcore.transactions.update'),(3,'Delete','ktcore.transactions.delete'),(4,'Rename','ktcore.transactions.rename'),(5,'Move','ktcore.transactions.move'),(6,'Download','ktcore.transactions.download'),(7,'Check In','ktcore.transactions.check_in'),(8,'Check Out','ktcore.transactions.check_out'),(9,'Collaboration Step Rollback','ktcore.transactions.collaboration_step_rollback'),(10,'View','ktcore.transactions.view'),(11,'Expunge','ktcore.transactions.expunge'),(12,'Force CheckIn','ktcore.transactions.force_checkin'),(13,'Email Link','ktcore.transactions.email_link'),(14,'Collaboration Step Approve','ktcore.transactions.collaboration_step_approve'),(15,'Email Attachment','ktcore.transactions.email_attachment'),(16,'Workflow state transition','ktcore.transactions.workflow_state_transition'),(17,'Permissions changed','ktcore.transactions.permissions_change'),(18,'Role allocations changed','ktcore.transactions.role_allocations_change'),(19,'Bulk Export','ktstandard.transactions.bulk_export'),(20,'Copy','ktcore.transactions.copy'),(21,'Delete Version','ktcore.transactions.delete_version');
  437 +INSERT INTO `document_transaction_types_lookup` VALUES
  438 +(1,'Create','ktcore.transactions.create'),
  439 +(2,'Update','ktcore.transactions.update'),
  440 +(3,'Delete','ktcore.transactions.delete'),
  441 +(4,'Rename','ktcore.transactions.rename'),
  442 +(5,'Move','ktcore.transactions.move'),
  443 +(6,'Download','ktcore.transactions.download'),
  444 +(7,'Check In','ktcore.transactions.check_in'),
  445 +(8,'Check Out','ktcore.transactions.check_out'),
  446 +(9,'Collaboration Step Rollback','ktcore.transactions.collaboration_step_rollback'),
  447 +(10,'View','ktcore.transactions.view'),
  448 +(11,'Expunge','ktcore.transactions.expunge'),
  449 +(12,'Force CheckIn','ktcore.transactions.force_checkin'),
  450 +(13,'Email Link','ktcore.transactions.email_link'),
  451 +(14,'Collaboration Step Approve','ktcore.transactions.collaboration_step_approve'),
  452 +(15,'Email Attachment','ktcore.transactions.email_attachment'),
  453 +(16,'Workflow state transition','ktcore.transactions.workflow_state_transition'),
  454 +(17,'Permissions changed','ktcore.transactions.permissions_change'),
  455 +(18,'Role allocations changed','ktcore.transactions.role_allocations_change'),
  456 +(19,'Bulk Export','ktstandard.transactions.bulk_export'),
  457 +(20,'Copy','ktcore.transactions.copy'),
  458 +(21,'Delete Version','ktcore.transactions.delete_version');
410 459 /*!40000 ALTER TABLE `document_transaction_types_lookup` ENABLE KEYS */;
411 460 UNLOCK TABLES;
412 461  
... ... @@ -443,7 +492,8 @@ UNLOCK TABLES;
443 492  
444 493 LOCK TABLES `document_types_lookup` WRITE;
445 494 /*!40000 ALTER TABLE `document_types_lookup` DISABLE KEYS */;
446   -INSERT INTO `document_types_lookup` VALUES (1,'Default',0);
  495 +INSERT INTO `document_types_lookup` VALUES
  496 +(1,'Default',0);
447 497 /*!40000 ALTER TABLE `document_types_lookup` ENABLE KEYS */;
448 498 UNLOCK TABLES;
449 499  
... ... @@ -507,7 +557,9 @@ UNLOCK TABLES;
507 557  
508 558 LOCK TABLES `fieldsets` WRITE;
509 559 /*!40000 ALTER TABLE `fieldsets` DISABLE KEYS */;
510   -INSERT INTO `fieldsets` VALUES (2,'Tag Cloud','tagcloud',0,0,NULL,1,0,0,0,'Tag Cloud',0),(3,'General information','generalinformation',0,0,NULL,1,0,0,0,'General document information',0);
  560 +INSERT INTO `fieldsets` VALUES
  561 +(2,'Tag Cloud','tagcloud',0,0,NULL,1,0,0,0,'Tag Cloud',0),
  562 +(3,'General information','generalinformation',0,0,NULL,1,0,0,0,'General document information',0);
511 563 /*!40000 ALTER TABLE `fieldsets` ENABLE KEYS */;
512 564 UNLOCK TABLES;
513 565  
... ... @@ -526,7 +578,8 @@ UNLOCK TABLES;
526 578  
527 579 LOCK TABLES `folder_doctypes_link` WRITE;
528 580 /*!40000 ALTER TABLE `folder_doctypes_link` DISABLE KEYS */;
529   -INSERT INTO `folder_doctypes_link` VALUES (1,1,1);
  581 +INSERT INTO `folder_doctypes_link` VALUES
  582 +(1,1,1);
530 583 /*!40000 ALTER TABLE `folder_doctypes_link` ENABLE KEYS */;
531 584 UNLOCK TABLES;
532 585  
... ... @@ -536,7 +589,8 @@ UNLOCK TABLES;
536 589  
537 590 LOCK TABLES `folder_searchable_text` WRITE;
538 591 /*!40000 ALTER TABLE `folder_searchable_text` DISABLE KEYS */;
539   -INSERT INTO `folder_searchable_text` VALUES (1,'Root Folder');
  592 +INSERT INTO `folder_searchable_text` VALUES
  593 +(1,'Root Folder');
540 594 /*!40000 ALTER TABLE `folder_searchable_text` ENABLE KEYS */;
541 595 UNLOCK TABLES;
542 596  
... ... @@ -573,7 +627,8 @@ UNLOCK TABLES;
573 627  
574 628 LOCK TABLES `folders` WRITE;
575 629 /*!40000 ALTER TABLE `folders` DISABLE KEYS */;
576   -INSERT INTO `folders` VALUES (1,'Root Folder','Root Document Folder',NULL,1,0,NULL,NULL,1,5,0,1);
  630 +INSERT INTO `folders` VALUES
  631 +(1,'Root Folder','Root Document Folder',NULL,1,0,NULL,NULL,1,5,0,1);
577 632 /*!40000 ALTER TABLE `folders` ENABLE KEYS */;
578 633 UNLOCK TABLES;
579 634  
... ... @@ -601,7 +656,8 @@ UNLOCK TABLES;
601 656  
602 657 LOCK TABLES `groups_lookup` WRITE;
603 658 /*!40000 ALTER TABLE `groups_lookup` DISABLE KEYS */;
604   -INSERT INTO `groups_lookup` VALUES (1,'System Administrators',1,0,NULL,NULL,NULL,NULL);
  659 +INSERT INTO `groups_lookup` VALUES
  660 +(1,'System Administrators',1,0,NULL,NULL,NULL,NULL);
605 661 /*!40000 ALTER TABLE `groups_lookup` ENABLE KEYS */;
606 662 UNLOCK TABLES;
607 663  
... ... @@ -611,7 +667,107 @@ UNLOCK TABLES;
611 667  
612 668 LOCK TABLES `help` WRITE;
613 669 /*!40000 ALTER TABLE `help` DISABLE KEYS */;
614   -INSERT INTO `help` VALUES (1,'browse','dochelp.html'),(2,'dashboard','dashboardHelp.html'),(3,'addFolder','addFolderHelp.html'),(4,'editFolder','editFolderHelp.html'),(5,'addFolderCollaboration','addFolderCollaborationHelp.html'),(6,'modifyFolderCollaboration','addFolderCollaborationHelp.html'),(7,'addDocument','addDocumentHelp.html'),(8,'viewDocument','viewDocumentHelp.html'),(9,'modifyDocument','modifyDocumentHelp.html'),(10,'modifyDocumentRouting','modifyDocumentRoutingHelp.html'),(11,'emailDocument','emailDocumentHelp.html'),(12,'deleteDocument','deleteDocumentHelp.html'),(13,'administration','administrationHelp.html'),(14,'addGroup','addGroupHelp.html'),(15,'editGroup','editGroupHelp.html'),(16,'removeGroup','removeGroupHelp.html'),(17,'assignGroupToUnit','assignGroupToUnitHelp.html'),(18,'removeGroupFromUnit','removeGroupFromUnitHelp.html'),(19,'addUnit','addUnitHelp.html'),(20,'editUnit','editUnitHelp.html'),(21,'removeUnit','removeUnitHelp.html'),(22,'addOrg','addOrgHelp.html'),(23,'editOrg','editOrgHelp.html'),(24,'removeOrg','removeOrgHelp.html'),(25,'addRole','addRoleHelp.html'),(26,'editRole','editRoleHelp.html'),(27,'removeRole','removeRoleHelp.html'),(28,'addLink','addLinkHelp.html'),(29,'addLinkSuccess','addLinkHelp.html'),(30,'editLink','editLinkHelp.html'),(31,'removeLink','removeLinkHelp.html'),(32,'systemAdministration','systemAdministrationHelp.html'),(33,'deleteFolder','deleteFolderHelp.html'),(34,'editDocType','editDocTypeHelp.html'),(35,'removeDocType','removeDocTypeHelp.html'),(36,'addDocType','addDocTypeHelp.html'),(37,'addDocTypeSuccess','addDocTypeHelp.html'),(38,'manageSubscriptions','manageSubscriptionsHelp.html'),(39,'addSubscription','addSubscriptionHelp.html'),(40,'removeSubscription','removeSubscriptionHelp.html'),(41,'preferences','preferencesHelp.html'),(42,'editPrefsSuccess','preferencesHelp.html'),(43,'modifyDocumentGenericMetaData','modifyDocumentGenericMetaDataHelp.html'),(44,'viewHistory','viewHistoryHelp.html'),(45,'checkInDocument','checkInDocumentHelp.html'),(46,'checkOutDocument','checkOutDocumentHelp.html'),(47,'advancedSearch','advancedSearchHelp.html'),(48,'deleteFolderCollaboration','deleteFolderCollaborationHelp.html'),(49,'addFolderDocType','addFolderDocTypeHelp.html'),(50,'deleteFolderDocType','deleteFolderDocTypeHelp.html'),(51,'addGroupFolderLink','addGroupFolderLinkHelp.html'),(52,'deleteGroupFolderLink','deleteGroupFolderLinkHelp.html'),(53,'addWebsite','addWebsiteHelp.html'),(54,'addWebsiteSuccess','addWebsiteHelp.html'),(55,'editWebsite','editWebsiteHelp.html'),(56,'removeWebSite','removeWebSiteHelp.html'),(57,'standardSearch','standardSearchHelp.html'),(58,'modifyDocumentTypeMetaData','modifyDocumentTypeMetaDataHelp.html'),(59,'addDocField','addDocFieldHelp.html'),(60,'editDocField','editDocFieldHelp.html'),(61,'removeDocField','removeDocFieldHelp.html'),(62,'addMetaData','addMetaDataHelp.html'),(63,'editMetaData','editMetaDataHelp.html'),(64,'removeMetaData','removeMetaDataHelp.html'),(65,'addUser','addUserHelp.html'),(66,'editUser','editUserHelp.html'),(67,'removeUser','removeUserHelp.html'),(68,'addUserToGroup','addUserToGroupHelp.html'),(69,'removeUserFromGroup','removeUserFromGroupHelp.html'),(70,'viewDiscussion','viewDiscussionThread.html'),(71,'addComment','addDiscussionComment.html'),(72,'listNews','listDashboardNewsHelp.html'),(73,'editNews','editDashboardNewsHelp.html'),(74,'previewNews','previewDashboardNewsHelp.html'),(75,'addNews','addDashboardNewsHelp.html'),(76,'modifyDocumentArchiveSettings','modifyDocumentArchiveSettingsHelp.html'),(77,'addDocumentArchiveSettings','addDocumentArchiveSettingsHelp.html'),(78,'listDocFields','listDocumentFieldsAdmin.html'),(79,'editDocFieldLookups','editDocFieldLookups.html'),(80,'addMetaDataForField','addMetaDataForField.html'),(81,'editMetaDataForField','editMetaDataForField.html'),(82,'removeMetaDataFromField','removeMetaDataFromField.html'),(83,'listDocs','listDocumentsCheckoutHelp.html'),(84,'editDocCheckout','editDocCheckoutHelp.html'),(85,'listDocTypes','listDocTypesHelp.html'),(86,'editDocTypeFields','editDocFieldHelp.html'),(87,'addDocTypeFieldsLink','addDocTypeFieldHelp.html'),(88,'listGroups','listGroupsHelp.html'),(89,'editGroupUnit','editGroupUnitHelp.html'),(90,'listOrg','listOrgHelp.html'),(91,'listRole','listRolesHelp.html'),(92,'listUnits','listUnitHelp.html'),(93,'editUnitOrg','editUnitOrgHelp.html'),(94,'removeUnitFromOrg','removeUnitFromOrgHelp.html'),(95,'addUnitToOrg','addUnitToOrgHelp.html'),(96,'listUsers','listUsersHelp.html'),(97,'editUserGroups','editUserGroupsHelp.html'),(98,'listWebsites','listWebsitesHelp.html'),(99,'loginDisclaimer','loginDisclaimer.html'),(100,'pageDisclaimer','pageDisclaimer.html');
  670 +INSERT INTO `help` VALUES
  671 +(1,'browse','dochelp.html'),
  672 +(2,'dashboard','dashboardHelp.html'),
  673 +(3,'addFolder','addFolderHelp.html'),
  674 +(4,'editFolder','editFolderHelp.html'),
  675 +(5,'addFolderCollaboration','addFolderCollaborationHelp.html'),
  676 +(6,'modifyFolderCollaboration','addFolderCollaborationHelp.html'),
  677 +(7,'addDocument','addDocumentHelp.html'),
  678 +(8,'viewDocument','viewDocumentHelp.html'),
  679 +(9,'modifyDocument','modifyDocumentHelp.html'),
  680 +(10,'modifyDocumentRouting','modifyDocumentRoutingHelp.html'),
  681 +(11,'emailDocument','emailDocumentHelp.html'),
  682 +(12,'deleteDocument','deleteDocumentHelp.html'),
  683 +(13,'administration','administrationHelp.html'),
  684 +(14,'addGroup','addGroupHelp.html'),
  685 +(15,'editGroup','editGroupHelp.html'),
  686 +(16,'removeGroup','removeGroupHelp.html'),
  687 +(17,'assignGroupToUnit','assignGroupToUnitHelp.html'),
  688 +(18,'removeGroupFromUnit','removeGroupFromUnitHelp.html'),
  689 +(19,'addUnit','addUnitHelp.html'),
  690 +(20,'editUnit','editUnitHelp.html'),
  691 +(21,'removeUnit','removeUnitHelp.html'),
  692 +(22,'addOrg','addOrgHelp.html'),
  693 +(23,'editOrg','editOrgHelp.html'),
  694 +(24,'removeOrg','removeOrgHelp.html'),
  695 +(25,'addRole','addRoleHelp.html'),
  696 +(26,'editRole','editRoleHelp.html'),
  697 +(27,'removeRole','removeRoleHelp.html'),
  698 +(28,'addLink','addLinkHelp.html'),
  699 +(29,'addLinkSuccess','addLinkHelp.html'),
  700 +(30,'editLink','editLinkHelp.html'),
  701 +(31,'removeLink','removeLinkHelp.html'),
  702 +(32,'systemAdministration','systemAdministrationHelp.html'),
  703 +(33,'deleteFolder','deleteFolderHelp.html'),
  704 +(34,'editDocType','editDocTypeHelp.html'),
  705 +(35,'removeDocType','removeDocTypeHelp.html'),
  706 +(36,'addDocType','addDocTypeHelp.html'),
  707 +(37,'addDocTypeSuccess','addDocTypeHelp.html'),
  708 +(38,'manageSubscriptions','manageSubscriptionsHelp.html'),
  709 +(39,'addSubscription','addSubscriptionHelp.html'),
  710 +(40,'removeSubscription','removeSubscriptionHelp.html'),
  711 +(41,'preferences','preferencesHelp.html'),
  712 +(42,'editPrefsSuccess','preferencesHelp.html'),
  713 +(43,'modifyDocumentGenericMetaData','modifyDocumentGenericMetaDataHelp.html'),
  714 +(44,'viewHistory','viewHistoryHelp.html'),
  715 +(45,'checkInDocument','checkInDocumentHelp.html'),
  716 +(46,'checkOutDocument','checkOutDocumentHelp.html'),
  717 +(47,'advancedSearch','advancedSearchHelp.html'),
  718 +(48,'deleteFolderCollaboration','deleteFolderCollaborationHelp.html'),
  719 +(49,'addFolderDocType','addFolderDocTypeHelp.html'),
  720 +(50,'deleteFolderDocType','deleteFolderDocTypeHelp.html'),
  721 +(51,'addGroupFolderLink','addGroupFolderLinkHelp.html'),
  722 +(52,'deleteGroupFolderLink','deleteGroupFolderLinkHelp.html'),
  723 +(53,'addWebsite','addWebsiteHelp.html'),
  724 +(54,'addWebsiteSuccess','addWebsiteHelp.html'),
  725 +(55,'editWebsite','editWebsiteHelp.html'),
  726 +(56,'removeWebSite','removeWebSiteHelp.html'),
  727 +(57,'standardSearch','standardSearchHelp.html'),
  728 +(58,'modifyDocumentTypeMetaData','modifyDocumentTypeMetaDataHelp.html'),
  729 +(59,'addDocField','addDocFieldHelp.html'),
  730 +(60,'editDocField','editDocFieldHelp.html'),
  731 +(61,'removeDocField','removeDocFieldHelp.html'),
  732 +(62,'addMetaData','addMetaDataHelp.html'),
  733 +(63,'editMetaData','editMetaDataHelp.html'),
  734 +(64,'removeMetaData','removeMetaDataHelp.html'),
  735 +(65,'addUser','addUserHelp.html'),
  736 +(66,'editUser','editUserHelp.html'),
  737 +(67,'removeUser','removeUserHelp.html'),
  738 +(68,'addUserToGroup','addUserToGroupHelp.html'),
  739 +(69,'removeUserFromGroup','removeUserFromGroupHelp.html'),
  740 +(70,'viewDiscussion','viewDiscussionThread.html'),
  741 +(71,'addComment','addDiscussionComment.html'),
  742 +(72,'listNews','listDashboardNewsHelp.html'),
  743 +(73,'editNews','editDashboardNewsHelp.html'),
  744 +(74,'previewNews','previewDashboardNewsHelp.html'),
  745 +(75,'addNews','addDashboardNewsHelp.html'),
  746 +(76,'modifyDocumentArchiveSettings','modifyDocumentArchiveSettingsHelp.html'),
  747 +(77,'addDocumentArchiveSettings','addDocumentArchiveSettingsHelp.html'),
  748 +(78,'listDocFields','listDocumentFieldsAdmin.html'),
  749 +(79,'editDocFieldLookups','editDocFieldLookups.html'),
  750 +(80,'addMetaDataForField','addMetaDataForField.html'),
  751 +(81,'editMetaDataForField','editMetaDataForField.html'),
  752 +(82,'removeMetaDataFromField','removeMetaDataFromField.html'),
  753 +(83,'listDocs','listDocumentsCheckoutHelp.html'),
  754 +(84,'editDocCheckout','editDocCheckoutHelp.html'),
  755 +(85,'listDocTypes','listDocTypesHelp.html'),
  756 +(86,'editDocTypeFields','editDocFieldHelp.html'),
  757 +(87,'addDocTypeFieldsLink','addDocTypeFieldHelp.html'),
  758 +(88,'listGroups','listGroupsHelp.html'),
  759 +(89,'editGroupUnit','editGroupUnitHelp.html'),
  760 +(90,'listOrg','listOrgHelp.html'),
  761 +(91,'listRole','listRolesHelp.html'),
  762 +(92,'listUnits','listUnitHelp.html'),
  763 +(93,'editUnitOrg','editUnitOrgHelp.html'),
  764 +(94,'removeUnitFromOrg','removeUnitFromOrgHelp.html'),
  765 +(95,'addUnitToOrg','addUnitToOrgHelp.html'),
  766 +(96,'listUsers','listUsersHelp.html'),
  767 +(97,'editUserGroups','editUserGroupsHelp.html'),
  768 +(98,'listWebsites','listWebsitesHelp.html'),
  769 +(99,'loginDisclaimer','loginDisclaimer.html'),
  770 +(100,'pageDisclaimer','pageDisclaimer.html');
615 771 /*!40000 ALTER TABLE `help` ENABLE KEYS */;
616 772 UNLOCK TABLES;
617 773  
... ... @@ -657,7 +813,17 @@ UNLOCK TABLES;
657 813  
658 814 LOCK TABLES `metadata_lookup` WRITE;
659 815 /*!40000 ALTER TABLE `metadata_lookup` DISABLE KEYS */;
660   -INSERT INTO `metadata_lookup` VALUES (2,4,'Technical',NULL,0,0),(3,4,'Financial',NULL,0,0),(4,4,'Legal',NULL,0,0),(5,4,'Administrative',NULL,0,0),(6,4,'Miscellaneous',NULL,0,0),(7,4,'Sales',NULL,0,0),(8,5,'Text',NULL,0,0),(9,5,'Image',NULL,0,0),(10,5,'Audio',NULL,0,0),(11,5,'Video',NULL,0,0);
  816 +INSERT INTO `metadata_lookup` VALUES
  817 +(2,4,'Technical',NULL,0,0),
  818 +(3,4,'Financial',NULL,0,0),
  819 +(4,4,'Legal',NULL,0,0),
  820 +(5,4,'Administrative',NULL,0,0),
  821 +(6,4,'Miscellaneous',NULL,0,0),
  822 +(7,4,'Sales',NULL,0,0),
  823 +(8,5,'Text',NULL,0,0),
  824 +(9,5,'Image',NULL,0,0),
  825 +(10,5,'Audio',NULL,0,0),
  826 +(11,5,'Video',NULL,0,0);
661 827 /*!40000 ALTER TABLE `metadata_lookup` ENABLE KEYS */;
662 828 UNLOCK TABLES;
663 829  
... ... @@ -866,16 +1032,15 @@ INSERT INTO `mime_types` VALUES
866 1032 (160,'csv','text/csv','excel','Comma delimited spreadsheet',NULL,NULL),
867 1033 (161,'msi','application/x-msi','compressed','MSI Installer file',NULL,NULL),
868 1034 (162,'pps','application/vnd.ms-powerpoint','office','Powerpoint Presentation',NULL,NULL),
869   -(163, 'docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'word', 'Word Document',NULL,NULL),
870   -(164, 'dotx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', 'word', 'Word Document',NULL,NULL),
871   -(165, 'potx', 'application/vnd.openxmlformats-officedocument.presentationml.template', 'office', 'Powerpoint Presentation',NULL,NULL),
872   -(166, 'ppsx', 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', 'office', 'Powerpoint Presentation',NULL,NULL),
873   -(167, 'pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'office', 'Powerpoint Presentation',NULL,NULL),
874   -(168, 'xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'excel', 'Excel Spreadsheet',NULL,NULL),
875   -(169, 'xltx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', 'excel', 'Excel Spreadsheet',NULL,NULL),
876   -(170, 'msg', 'application/vnd.ms-outlook', 'office', 'Outlook Item',NULL,NULL),
877   -(171, 'db', 'application/db', '', 'Misc DB file',NULL,NULL);
878   -
  1035 +(163,'docx','application/vnd.openxmlformats-officedocument.wordprocessingml.document','word','Word Document',NULL,NULL),
  1036 +(164,'dotx','application/vnd.openxmlformats-officedocument.wordprocessingml.template','word','Word Document',NULL,NULL),
  1037 +(165,'potx','application/vnd.openxmlformats-officedocument.presentationml.template','office','Powerpoint Presentation',NULL,NULL),
  1038 +(166,'ppsx','application/vnd.openxmlformats-officedocument.presentationml.slideshow','office','Powerpoint Presentation',NULL,NULL),
  1039 +(167,'pptx','application/vnd.openxmlformats-officedocument.presentationml.presentation','office','Powerpoint Presentation',NULL,NULL),
  1040 +(168,'xlsx','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','excel','Excel Spreadsheet',NULL,NULL),
  1041 +(169,'xltx','application/vnd.openxmlformats-officedocument.spreadsheetml.template','excel','Excel Spreadsheet',NULL,NULL),
  1042 +(170,'msg','application/vnd.ms-outlook','office','Outlook Item',NULL,NULL),
  1043 +(171,'db','application/db','','Misc DB file',NULL,NULL);
879 1044 /*!40000 ALTER TABLE `mime_types` ENABLE KEYS */;
880 1045 UNLOCK TABLES;
881 1046  
... ... @@ -903,7 +1068,8 @@ UNLOCK TABLES;
903 1068  
904 1069 LOCK TABLES `organisations_lookup` WRITE;
905 1070 /*!40000 ALTER TABLE `organisations_lookup` DISABLE KEYS */;
906   -INSERT INTO `organisations_lookup` VALUES (1,'Default Organisation');
  1071 +INSERT INTO `organisations_lookup` VALUES
  1072 +(1,'Default Organisation');
907 1073 /*!40000 ALTER TABLE `organisations_lookup` ENABLE KEYS */;
908 1074 UNLOCK TABLES;
909 1075  
... ... @@ -913,7 +1079,15 @@ UNLOCK TABLES;
913 1079  
914 1080 LOCK TABLES `permission_assignments` WRITE;
915 1081 /*!40000 ALTER TABLE `permission_assignments` DISABLE KEYS */;
916   -INSERT INTO `permission_assignments` VALUES (1,1,1,2),(2,2,1,2),(3,3,1,2),(4,4,1,2),(5,5,1,2),(6,6,1,2),(7,7,1,2),(8,8,1,2);
  1082 +INSERT INTO `permission_assignments` VALUES
  1083 +(1,1,1,2),
  1084 +(2,2,1,2),
  1085 +(3,3,1,2),
  1086 +(4,4,1,2),
  1087 +(5,5,1,2),
  1088 +(6,6,1,2),
  1089 +(7,7,1,2),
  1090 +(8,8,1,2);
917 1091 /*!40000 ALTER TABLE `permission_assignments` ENABLE KEYS */;
918 1092 UNLOCK TABLES;
919 1093  
... ... @@ -923,7 +1097,8 @@ UNLOCK TABLES;
923 1097  
924 1098 LOCK TABLES `permission_descriptor_groups` WRITE;
925 1099 /*!40000 ALTER TABLE `permission_descriptor_groups` DISABLE KEYS */;
926   -INSERT INTO `permission_descriptor_groups` VALUES (2,1);
  1100 +INSERT INTO `permission_descriptor_groups` VALUES
  1101 +(2,1);
927 1102 /*!40000 ALTER TABLE `permission_descriptor_groups` ENABLE KEYS */;
928 1103 UNLOCK TABLES;
929 1104  
... ... @@ -951,7 +1126,9 @@ UNLOCK TABLES;
951 1126  
952 1127 LOCK TABLES `permission_descriptors` WRITE;
953 1128 /*!40000 ALTER TABLE `permission_descriptors` DISABLE KEYS */;
954   -INSERT INTO `permission_descriptors` VALUES (1,'d41d8cd98f00b204e9800998ecf8427e',''),(2,'a689e7c4dc953de8d93b1ed4843b2dfe','group(1)');
  1129 +INSERT INTO `permission_descriptors` VALUES
  1130 +(1,'d41d8cd98f00b204e9800998ecf8427e',''),
  1131 +(2,'a689e7c4dc953de8d93b1ed4843b2dfe','group(1)');
955 1132 /*!40000 ALTER TABLE `permission_descriptors` ENABLE KEYS */;
956 1133 UNLOCK TABLES;
957 1134  
... ... @@ -979,7 +1156,31 @@ UNLOCK TABLES;
979 1156  
980 1157 LOCK TABLES `permission_lookup_assignments` WRITE;
981 1158 /*!40000 ALTER TABLE `permission_lookup_assignments` DISABLE KEYS */;
982   -INSERT INTO `permission_lookup_assignments` VALUES (1,1,1,1),(2,2,1,1),(3,3,1,1),(4,1,2,2),(5,2,2,2),(6,3,2,2),(7,1,3,2),(8,2,3,2),(9,3,3,2),(10,4,3,2),(11,5,3,2),(12,1,4,2),(13,2,4,2),(14,3,4,2),(15,4,4,2),(16,5,4,2),(17,6,4,2),(18,1,5,2),(19,2,5,2),(20,3,5,2),(21,4,5,2),(22,5,5,2),(23,6,5,2),(24,7,5,2);
  1159 +INSERT INTO `permission_lookup_assignments` VALUES
  1160 +(1,1,1,1),
  1161 +(2,2,1,1),
  1162 +(3,3,1,1),
  1163 +(4,1,2,2),
  1164 +(5,2,2,2),
  1165 +(6,3,2,2),
  1166 +(7,1,3,2),
  1167 +(8,2,3,2),
  1168 +(9,3,3,2),
  1169 +(10,4,3,2),
  1170 +(11,5,3,2),
  1171 +(12,1,4,2),
  1172 +(13,2,4,2),
  1173 +(14,3,4,2),
  1174 +(15,4,4,2),
  1175 +(16,5,4,2),
  1176 +(17,6,4,2),
  1177 +(18,1,5,2),
  1178 +(19,2,5,2),
  1179 +(20,3,5,2),
  1180 +(21,4,5,2),
  1181 +(22,5,5,2),
  1182 +(23,6,5,2),
  1183 +(24,7,5,2);
983 1184 /*!40000 ALTER TABLE `permission_lookup_assignments` ENABLE KEYS */;
984 1185 UNLOCK TABLES;
985 1186  
... ... @@ -989,7 +1190,12 @@ UNLOCK TABLES;
989 1190  
990 1191 LOCK TABLES `permission_lookups` WRITE;
991 1192 /*!40000 ALTER TABLE `permission_lookups` DISABLE KEYS */;
992   -INSERT INTO `permission_lookups` VALUES (1),(2),(3),(4),(5);
  1193 +INSERT INTO `permission_lookups` VALUES
  1194 +(1),
  1195 +(2),
  1196 +(3),
  1197 +(4),
  1198 +(5);
993 1199 /*!40000 ALTER TABLE `permission_lookups` ENABLE KEYS */;
994 1200 UNLOCK TABLES;
995 1201  
... ... @@ -999,7 +1205,8 @@ UNLOCK TABLES;
999 1205  
1000 1206 LOCK TABLES `permission_objects` WRITE;
1001 1207 /*!40000 ALTER TABLE `permission_objects` DISABLE KEYS */;
1002   -INSERT INTO `permission_objects` VALUES (1);
  1208 +INSERT INTO `permission_objects` VALUES
  1209 +(1);
1003 1210 /*!40000 ALTER TABLE `permission_objects` ENABLE KEYS */;
1004 1211 UNLOCK TABLES;
1005 1212  
... ... @@ -1009,11 +1216,28 @@ UNLOCK TABLES;
1009 1216  
1010 1217 LOCK TABLES `permissions` WRITE;
1011 1218 /*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
1012   -INSERT INTO `permissions` VALUES (1,'ktcore.permissions.read','Read',1),(2,'ktcore.permissions.write','Write',1),(3,'ktcore.permissions.addFolder','Add Folder',1),(4,'ktcore.permissions.security','Manage security',1),(5,'ktcore.permissions.delete','Delete',1),(6,'ktcore.permissions.workflow','Manage workflow',1),(7,'ktcore.permissions.folder_details','Folder Details',1),(8,'ktcore.permissions.folder_rename','Rename Folder',1);
  1219 +INSERT INTO `permissions` VALUES
  1220 +(1,'ktcore.permissions.read','Read',1),
  1221 +(2,'ktcore.permissions.write','Write',1),
  1222 +(3,'ktcore.permissions.addFolder','Add Folder',1),
  1223 +(4,'ktcore.permissions.security','Manage security',1),
  1224 +(5,'ktcore.permissions.delete','Delete',1),
  1225 +(6,'ktcore.permissions.workflow','Manage workflow',1),
  1226 +(7,'ktcore.permissions.folder_details','Folder Details',1),
  1227 +(8,'ktcore.permissions.folder_rename','Rename Folder',1);
1013 1228 /*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
1014 1229 UNLOCK TABLES;
1015 1230  
1016 1231 --
  1232 +-- Dumping data for table `plugin_helper`
  1233 +--
  1234 +
  1235 +LOCK TABLES `plugin_helper` WRITE;
  1236 +/*!40000 ALTER TABLE `plugin_helper` DISABLE KEYS */;
  1237 +/*!40000 ALTER TABLE `plugin_helper` ENABLE KEYS */;
  1238 +UNLOCK TABLES;
  1239 +
  1240 +--
1017 1241 -- Dumping data for table `plugin_rss`
1018 1242 --
1019 1243  
... ... @@ -1029,27 +1253,27 @@ UNLOCK TABLES;
1029 1253 LOCK TABLES `plugins` WRITE;
1030 1254 /*!40000 ALTER TABLE `plugins` DISABLE KEYS */;
1031 1255 INSERT INTO `plugins` VALUES
1032   - (1,'ktcore.tagcloud.plugin','plugins/tagcloud/TagCloudPlugin.php',0,0,NULL,0,'Tag Cloud Plugin',0),
1033   - (2,'ktcore.rss.plugin','plugins/rssplugin/RSSPlugin.php',0,0,NULL,0,'RSS Plugin',0),
1034   - (3,'ktcore.language.plugin','plugins/ktcore/KTCoreLanguagePlugin.php',0,0,NULL,0,'Core Language Support',-75),
1035   - (4,'ktcore.plugin','plugins/ktcore/KTCorePlugin.php',0,0,NULL,0,'Core Application Functionality',-25),
1036   - (5,'ktstandard.adminversion.plugin','plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php',0,0,NULL,0,'Admin Version Notifier',0),
1037   - (6,'ktstandard.ldapauthentication.plugin','plugins/ktstandard/KTLDAPAuthenticationPlugin.php',0,0,NULL,0,'LDAP Authentication Plugin',0),
1038   - (7,'ktstandard.pdf.plugin','plugins/ktstandard/PDFGeneratorPlugin.php',0,0,NULL,0,'PDF Generator Plugin',0),
1039   - (8,'ktstandard.bulkexport.plugin','plugins/ktstandard/KTBulkExportPlugin.php',0,0,NULL,0,'Bulk Export Plugin',0),
1040   - (9,'ktstandard.immutableaction.plugin','plugins/ktstandard/ImmutableActionPlugin.php',0,0,NULL,0,'Immutable action plugin',0),
1041   - (10,'ktstandard.subscriptions.plugin','plugins/ktstandard/KTSubscriptions.php',0,0,NULL,0,'Subscription Plugin',0),
1042   - (11,'ktstandard.discussion.plugin','plugins/ktstandard/KTDiscussion.php',0,0,NULL,0,'Document Discussions Plugin',0),
1043   - (12,'ktstandard.email.plugin','plugins/ktstandard/KTEmail.php',0,0,NULL,0,'Email Plugin',0),
1044   - (13,'ktstandard.indexer.plugin','plugins/ktstandard/KTIndexer.php',0,0,NULL,0,'Full-text Content Indexing',0),
1045   - (14,'ktstandard.documentlinks.plugin','plugins/ktstandard/KTDocumentLinks.php',0,0,NULL,0,'Inter-document linking',0),
1046   - (15,'ktstandard.workflowassociation.plugin','plugins/ktstandard/KTWorkflowAssociation.php',0,0,NULL,0,'Workflow Association Plugin',0),
1047   - (16,'ktstandard.workflowassociation.documenttype.plugin','plugins/ktstandard/workflow/TypeAssociator.php',0,0,NULL,0,'Workflow allocation by document type',0),
1048   - (17,'ktstandard.workflowassociation.folder.plugin','plugins/ktstandard/workflow/FolderAssociator.php',0,0,NULL,0,'Workflow allocation by location',0),
1049   - (18,'ktstandard.disclaimers.plugin','plugins/ktstandard/KTDisclaimers.php',0,0,NULL,0,'Disclaimers Plugin',0),
1050   - (19,'nbm.browseable.plugin','plugins/browseabledashlet/BrowseableDashletPlugin.php',0,0,NULL,0,'Orphaned Folders Plugin',0),
1051   - (20,'ktstandard.ktwebdavdashlet.plugin','plugins/ktstandard/KTWebDAVDashletPlugin.php',0,0,NULL,0,'WebDAV Dashlet Plugin',0),
1052   - (21,'ktcore.housekeeper.plugin','plugins/housekeeper/HouseKeeperPlugin.php',0,0,NULL,0,'Housekeeper',0);
  1256 +(1,'ktcore.tagcloud.plugin','plugins/tagcloud/TagCloudPlugin.php',0,0,NULL,0,'Tag Cloud Plugin',0),
  1257 +(2,'ktcore.rss.plugin','plugins/rssplugin/RSSPlugin.php',0,0,NULL,0,'RSS Plugin',0),
  1258 +(3,'ktcore.language.plugin','plugins/ktcore/KTCoreLanguagePlugin.php',0,0,NULL,0,'Core Language Support',-75),
  1259 +(4,'ktcore.plugin','plugins/ktcore/KTCorePlugin.php',0,0,NULL,0,'Core Application Functionality',-25),
  1260 +(5,'ktstandard.adminversion.plugin','plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php',0,0,NULL,0,'Admin Version Notifier',0),
  1261 +(6,'ktstandard.ldapauthentication.plugin','plugins/ktstandard/KTLDAPAuthenticationPlugin.php',0,0,NULL,0,'LDAP Authentication Plugin',0),
  1262 +(7,'ktstandard.pdf.plugin','plugins/ktstandard/PDFGeneratorPlugin.php',0,0,NULL,0,'PDF Generator Plugin',0),
  1263 +(8,'ktstandard.bulkexport.plugin','plugins/ktstandard/KTBulkExportPlugin.php',0,0,NULL,0,'Bulk Export Plugin',0),
  1264 +(9,'ktstandard.immutableaction.plugin','plugins/ktstandard/ImmutableActionPlugin.php',0,0,NULL,0,'Immutable action plugin',0),
  1265 +(10,'ktstandard.subscriptions.plugin','plugins/ktstandard/KTSubscriptions.php',0,0,NULL,0,'Subscription Plugin',0),
  1266 +(11,'ktstandard.discussion.plugin','plugins/ktstandard/KTDiscussion.php',0,0,NULL,0,'Document Discussions Plugin',0),
  1267 +(12,'ktstandard.email.plugin','plugins/ktstandard/KTEmail.php',0,0,NULL,0,'Email Plugin',0),
  1268 +(13,'ktstandard.indexer.plugin','plugins/ktstandard/KTIndexer.php',0,0,NULL,0,'Full-text Content Indexing',0),
  1269 +(14,'ktstandard.documentlinks.plugin','plugins/ktstandard/KTDocumentLinks.php',0,0,NULL,0,'Inter-document linking',0),
  1270 +(15,'ktstandard.workflowassociation.plugin','plugins/ktstandard/KTWorkflowAssociation.php',0,0,NULL,0,'Workflow Association Plugin',0),
  1271 +(16,'ktstandard.workflowassociation.documenttype.plugin','plugins/ktstandard/workflow/TypeAssociator.php',0,0,NULL,0,'Workflow allocation by document type',0),
  1272 +(17,'ktstandard.workflowassociation.folder.plugin','plugins/ktstandard/workflow/FolderAssociator.php',0,0,NULL,0,'Workflow allocation by location',0),
  1273 +(18,'ktstandard.disclaimers.plugin','plugins/ktstandard/KTDisclaimers.php',0,0,NULL,0,'Disclaimers Plugin',0),
  1274 +(19,'nbm.browseable.plugin','plugins/browseabledashlet/BrowseableDashletPlugin.php',0,0,NULL,0,'Orphaned Folders Plugin',0),
  1275 +(20,'ktstandard.ktwebdavdashlet.plugin','plugins/ktstandard/KTWebDAVDashletPlugin.php',0,0,NULL,0,'WebDAV Dashlet Plugin',0),
  1276 +(21,'ktcore.housekeeper.plugin','plugins/housekeeper/HouseKeeperPlugin.php',0,0,NULL,0,'Housekeeper',0);
1053 1277 /*!40000 ALTER TABLE `plugins` ENABLE KEYS */;
1054 1278 UNLOCK TABLES;
1055 1279  
... ... @@ -1068,7 +1292,13 @@ UNLOCK TABLES;
1068 1292  
1069 1293 LOCK TABLES `roles` WRITE;
1070 1294 /*!40000 ALTER TABLE `roles` DISABLE KEYS */;
1071   -INSERT INTO `roles` VALUES (-4,'Authenticated Users'),(4,'Creator'),(-3,'Everyone'),(-2,'Owner'),(2,'Publisher'),(3,'Reviewer');
  1295 +INSERT INTO `roles` VALUES
  1296 +(-4,'Authenticated Users'),
  1297 +(4,'Creator'),
  1298 +(-3,'Everyone'),
  1299 +(-2,'Owner'),
  1300 +(2,'Publisher'),
  1301 +(3,'Reviewer');
1072 1302 /*!40000 ALTER TABLE `roles` ENABLE KEYS */;
1073 1303 UNLOCK TABLES;
1074 1304  
... ... @@ -1088,17 +1318,17 @@ UNLOCK TABLES;
1088 1318 LOCK TABLES `scheduler_tasks` WRITE;
1089 1319 /*!40000 ALTER TABLE `scheduler_tasks` DISABLE KEYS */;
1090 1320 INSERT INTO `scheduler_tasks` VALUES
1091   -(1,'Indexing','search2/bin/cronIndexer.php','',0,'1min','2007-10-01',NULL,0,'system'),
1092   -(2,'Index Migration','search2/bin/cronMigration.php','',0,'5mins','2007-10-01',NULL,0,'system'),
1093   -(3,'Index Optimization','search2/bin/cronOptimize.php','',0,'weekly','2007-10-01',NULL,0,'system'),
1094   -(4,'Periodic Document Expunge','bin/expungeall.php','',0,'weekly','2007-10-01',NULL,0,'disabled'),
1095   -(5,'Database Maintenance','bin/dbmaint.php','optimize',0,'monthly','2007-10-01',NULL,0,'disabled'),
1096   -(6,'Open Office test','bin/checkopenoffice.php','',0,'1min','2007-10-01',NULL,0,'enabled'),
1097   -(7,'Cleanup Temporary Directory','search2/bin/cronCleanup.php','',0,'1min','2007-10-01',NULL,0,'enabled'),
1098   -(8,'Disk Usage and Folder Utilisation Statistics','plugins/housekeeper/bin/UpdateStats.php','',0,'5mins','2007-10-01',NULL,0,'enabled'),
1099   -(9,'Check Latest Version','plugins/ktstandard/AdminVersionPlugin/bin/UpdateNewVersion.php','',0,'daily','2007-10-01',NULL,0,'enabled'),
1100   -(10,'Refresh Index Statistics','search2/bin/cronIndexStats.php','',0,'daily','2007-10-01',NULL,0,'enabled'),
1101   -(11,'Refresh Resource Dependancies','search2/bin/cronResources.php','',0,'daily','2007-10-01',NULL,0,'enabled');
  1321 +(1,'Indexing','search2/bin/cronIndexer.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'system'),
  1322 +(2,'Index Migration','search2/bin/cronMigration.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'system'),
  1323 +(3,'Index Optimization','search2/bin/cronOptimize.php','',0,'weekly','2007-10-01 00:00:00',NULL,0,'system'),
  1324 +(4,'Periodic Document Expunge','bin/expungeall.php','',0,'weekly','2007-10-01 00:00:00',NULL,0,'disabled'),
  1325 +(5,'Database Maintenance','bin/dbmaint.php','optimize',0,'monthly','2007-10-01 00:00:00',NULL,0,'disabled'),
  1326 +(6,'Open Office test','bin/checkopenoffice.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'enabled'),
  1327 +(7,'Cleanup Temporary Directory','search2/bin/cronCleanup.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'enabled'),
  1328 +(8,'Disk Usage and Folder Utilisation Statistics','plugins/housekeeper/bin/UpdateStats.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'enabled'),
  1329 +(9,'Check Latest Version','plugins/ktstandard/AdminVersionPlugin/bin/UpdateNewVersion.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled'),
  1330 +(10,'Refresh Index Statistics','search2/bin/cronIndexStats.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled'),
  1331 +(11,'Refresh Resource Dependancies','search2/bin/cronResources.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled');
1102 1332 /*!40000 ALTER TABLE `scheduler_tasks` ENABLE KEYS */;
1103 1333 UNLOCK TABLES;
1104 1334  
... ... @@ -1117,7 +1347,25 @@ UNLOCK TABLES;
1117 1347  
1118 1348 LOCK TABLES `search_ranking` WRITE;
1119 1349 /*!40000 ALTER TABLE `search_ranking` DISABLE KEYS */;
1120   -INSERT INTO `search_ranking` VALUES ('Discussion','',150,'S'),('documents','checked_out_user_id',1,'T'),('documents','created',1,'T'),('documents','creator_id',1,'T'),('documents','id',1,'T'),('documents','immutable',1,'T'),('documents','is_checked_out',1,'T'),('documents','modified',1,'T'),('documents','modified_user_id',1,'T'),('documents','title',300,'T'),('DocumentText','',100,'S'),('document_content_version','filesize',1,'T'),('document_content_version','filename',10,'T'),('document_metadata_version','document_type_id',1,'T'),('document_metadata_version','name',1,'T'),('document_metadata_version','workflow_id',1,'T'),('document_metadata_version','workflow_state_id',1,'T'),('tag_words','tag',1,'T');
  1350 +INSERT INTO `search_ranking` VALUES
  1351 +('Discussion','',150,'S'),
  1352 +('documents','checked_out_user_id',1,'T'),
  1353 +('documents','created',1,'T'),
  1354 +('documents','creator_id',1,'T'),
  1355 +('documents','id',1,'T'),
  1356 +('documents','immutable',1,'T'),
  1357 +('documents','is_checked_out',1,'T'),
  1358 +('documents','modified',1,'T'),
  1359 +('documents','modified_user_id',1,'T'),
  1360 +('documents','title',300,'T'),
  1361 +('DocumentText','',100,'S'),
  1362 +('document_content_version','filename',10,'T'),
  1363 +('document_content_version','filesize',1,'T'),
  1364 +('document_metadata_version','document_type_id',1,'T'),
  1365 +('document_metadata_version','name',1,'T'),
  1366 +('document_metadata_version','workflow_id',1,'T'),
  1367 +('document_metadata_version','workflow_state_id',1,'T'),
  1368 +('tag_words','tag',1,'T');
1121 1369 /*!40000 ALTER TABLE `search_ranking` ENABLE KEYS */;
1122 1370 UNLOCK TABLES;
1123 1371  
... ... @@ -1145,7 +1393,13 @@ UNLOCK TABLES;
1145 1393  
1146 1394 LOCK TABLES `status_lookup` WRITE;
1147 1395 /*!40000 ALTER TABLE `status_lookup` DISABLE KEYS */;
1148   -INSERT INTO `status_lookup` VALUES (1,'Live'),(2,'Published'),(3,'Deleted'),(4,'Archived'),(5,'Incomplete'),(6,'Version Deleted');
  1396 +INSERT INTO `status_lookup` VALUES
  1397 +(1,'Live'),
  1398 +(2,'Published'),
  1399 +(3,'Deleted'),
  1400 +(4,'Archived'),
  1401 +(5,'Incomplete'),
  1402 +(6,'Version Deleted');
1149 1403 /*!40000 ALTER TABLE `status_lookup` ENABLE KEYS */;
1150 1404 UNLOCK TABLES;
1151 1405  
... ... @@ -1155,7 +1409,10 @@ UNLOCK TABLES;
1155 1409  
1156 1410 LOCK TABLES `system_settings` WRITE;
1157 1411 /*!40000 ALTER TABLE `system_settings` DISABLE KEYS */;
1158   -INSERT INTO `system_settings` VALUES (1,'lastIndexUpdate','0'),(2,'knowledgeTreeVersion','3.5.2'),(3,'databaseVersion','3.5.2');
  1412 +INSERT INTO `system_settings` VALUES
  1413 +(1,'lastIndexUpdate','0'),
  1414 +(2,'knowledgeTreeVersion','3.5.2'),
  1415 +(3,'databaseVersion','3.5.2');
1159 1416 /*!40000 ALTER TABLE `system_settings` ENABLE KEYS */;
1160 1417 UNLOCK TABLES;
1161 1418  
... ... @@ -1183,7 +1440,10 @@ UNLOCK TABLES;
1183 1440  
1184 1441 LOCK TABLES `time_unit_lookup` WRITE;
1185 1442 /*!40000 ALTER TABLE `time_unit_lookup` DISABLE KEYS */;
1186   -INSERT INTO `time_unit_lookup` VALUES (1,'Years'),(2,'Months'),(3,'Days');
  1443 +INSERT INTO `time_unit_lookup` VALUES
  1444 +(1,'Years'),
  1445 +(2,'Months'),
  1446 +(3,'Days');
1187 1447 /*!40000 ALTER TABLE `time_unit_lookup` ENABLE KEYS */;
1188 1448 UNLOCK TABLES;
1189 1449  
... ... @@ -1229,7 +1489,141 @@ UNLOCK TABLES;
1229 1489  
1230 1490 LOCK TABLES `upgrades` WRITE;
1231 1491 /*!40000 ALTER TABLE `upgrades` DISABLE KEYS */;
1232   -INSERT INTO `upgrades` VALUES (1,'sql*2.0.6*0*2.0.6/create_upgrade_table.sql','Database upgrade to version 2.0.6: Create upgrade table','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),(2,'upgrade*2.0.6*0*upgrade2.0.6','Upgrade from version 2.0.2 to 2.0.6','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),(3,'func*2.0.6*0*addTemplateMimeTypes','Add MIME types for Excel and Word templates','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),(4,'sql*2.0.6*0*2.0.6/add_email_attachment_transaction_type.sql','Database upgrade to version 2.0.6: Add email attachment transaction type','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),(5,'sql*2.0.6*0*2.0.6/create_link_type_table.sql','Database upgrade to version 2.0.6: Create link type table','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),(6,'sql*2.0.6*1*2.0.6/1-update_database_version.sql','Database upgrade to version 2.0.6: Update database version','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),(7,'upgrade*2.0.7*0*upgrade2.0.7','Upgrade from version 2.0.7 to 2.0.7','2005-07-21 22:35:15',1,'upgrade*2.0.7*0*upgrade2.0.7'),(8,'sql*2.0.7*0*2.0.7/document_link_update.sql','Database upgrade to version 2.0.7: Document link update','2005-07-21 22:35:16',1,'upgrade*2.0.7*0*upgrade2.0.7'),(9,'sql*2.0.8*0*2.0.8/nestedgroups.sql','Database upgrade to version 2.0.8: Nestedgroups','2005-08-02 16:02:06',1,'upgrade*2.0.8*0*upgrade2.0.8'),(10,'sql*2.0.8*0*2.0.8/help_replacement.sql','Database upgrade to version 2.0.8: Help replacement','2005-08-02 16:02:06',1,'upgrade*2.0.8*0*upgrade2.0.8'),(11,'upgrade*2.0.8*0*upgrade2.0.8','Upgrade from version 2.0.7 to 2.0.8','2005-08-02 16:02:06',1,'upgrade*2.0.8*0*upgrade2.0.8'),(12,'sql*2.0.8*0*2.0.8/permissions.sql','Database upgrade to version 2.0.8: Permissions','2005-08-02 16:02:07',1,'upgrade*2.0.8*0*upgrade2.0.8'),(13,'func*2.0.8*1*setPermissionObject','Set the permission object in charge of a document or folder','2005-08-02 16:02:07',1,'upgrade*2.0.8*0*upgrade2.0.8'),(14,'sql*2.0.8*1*2.0.8/1-metadata_versions.sql','Database upgrade to version 2.0.8: Metadata versions','2005-08-02 16:02:07',1,'upgrade*2.0.8*0*upgrade2.0.8'),(15,'sql*2.0.8*2*2.0.8/2-permissions.sql','Database upgrade to version 2.0.8: Permissions','2005-08-02 16:02:07',1,'upgrade*2.0.8*0*upgrade2.0.8'),(16,'sql*2.0.9*0*2.0.9/storagemanager.sql','','0000-00-00 00:00:00',1,NULL),(17,'sql*2.0.9*0*2.0.9/metadata_tree.sql','','0000-00-00 00:00:00',1,NULL),(18,'sql*2.0.9*0*2.0.9/document_incomplete.sql','','0000-00-00 00:00:00',1,NULL),(20,'upgrade*2.99.1*0*upgrade2.99.1','Upgrade from version 2.0.8 to 2.99.1','2005-10-07 14:26:15',1,'upgrade*2.99.1*0*upgrade2.99.1'),(21,'sql*2.99.1*0*2.99.1/workflow.sql','Database upgrade to version 2.99.1: Workflow','2005-10-07 14:26:15',1,'upgrade*2.99.1*0*upgrade2.99.1'),(22,'sql*2.99.1*0*2.99.1/fieldsets.sql','Database upgrade to version 2.99.1: Fieldsets','2005-10-07 14:26:16',1,'upgrade*2.99.1*0*upgrade2.99.1'),(23,'func*2.99.1*1*createFieldSets','Create a fieldset for each field without one','2005-10-07 14:26:16',1,'upgrade*2.99.1*0*upgrade2.99.1'),(24,'sql*2.99.2*0*2.99.2/saved_searches.sql','','0000-00-00 00:00:00',1,NULL),(25,'sql*2.99.2*0*2.99.2/transactions.sql','','0000-00-00 00:00:00',1,NULL),(26,'sql*2.99.2*0*2.99.2/field_mandatory.sql','','0000-00-00 00:00:00',1,NULL),(27,'sql*2.99.2*0*2.99.2/fieldsets_system.sql','','0000-00-00 00:00:00',1,NULL),(28,'sql*2.99.2*0*2.99.2/permission_by_user_and_roles.sql','','0000-00-00 00:00:00',1,NULL),(29,'sql*2.99.2*0*2.99.2/disabled_metadata.sql','','0000-00-00 00:00:00',1,NULL),(30,'sql*2.99.2*0*2.99.2/searchable_text.sql','','0000-00-00 00:00:00',1,NULL),(31,'sql*2.99.2*0*2.99.2/workflow.sql','','0000-00-00 00:00:00',1,NULL),(32,'sql*2.99.2*1*2.99.2/1-constraints.sql','','0000-00-00 00:00:00',1,NULL),(33,'sql*2.99.3*0*2.99.3/notifications.sql','','0000-00-00 00:00:00',1,NULL),(34,'sql*2.99.3*0*2.99.3/last_modified_user.sql','','0000-00-00 00:00:00',1,NULL),(35,'sql*2.99.3*0*2.99.3/authentication_sources.sql','','0000-00-00 00:00:00',1,NULL),(36,'sql*2.99.3*0*2.99.3/document_fields_constraints.sql','','0000-00-00 00:00:00',1,NULL),(37,'sql*2.99.5*0*2.99.5/dashlet_disabling.sql','','0000-00-00 00:00:00',1,NULL),(38,'sql*2.99.5*0*2.99.5/role_allocations.sql','','0000-00-00 00:00:00',1,NULL),(39,'sql*2.99.5*0*2.99.5/transaction_namespaces.sql','','0000-00-00 00:00:00',1,NULL),(40,'sql*2.99.5*0*2.99.5/fieldset_field_descriptions.sql','','0000-00-00 00:00:00',1,NULL),(41,'sql*2.99.5*0*2.99.5/role_changes.sql','','0000-00-00 00:00:00',1,NULL),(42,'sql*2.99.6*0*2.99.6/table_cleanup.sql','Database upgrade to version 2.99.6: Table cleanup','2006-01-20 17:04:05',1,'upgrade*2.99.7*99*upgrade2.99.7'),(43,'sql*2.99.6*0*2.99.6/plugin-registration.sql','Database upgrade to version 2.99.6: Plugin-registration','2006-01-20 17:04:05',1,'upgrade*2.99.7*99*upgrade2.99.7'),(44,'sql*2.99.7*0*2.99.7/documents_normalisation.sql','Database upgrade to version 2.99.7: Documents normalisation','2006-01-20 17:04:05',1,'upgrade*2.99.7*99*upgrade2.99.7'),(45,'sql*2.99.7*0*2.99.7/help_replacement.sql','Database upgrade to version 2.99.7: Help replacement','2006-01-20 17:04:05',1,'upgrade*2.99.7*99*upgrade2.99.7'),(46,'sql*2.99.7*0*2.99.7/table_cleanup.sql','Database upgrade to version 2.99.7: Table cleanup','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),(47,'func*2.99.7*1*normaliseDocuments','Normalise the documents table','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),(48,'sql*2.99.7*10*2.99.7/10-documents_normalisation.sql','Database upgrade to version 2.99.7: Documents normalisation','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),(49,'sql*2.99.7*20*2.99.7/20-fields.sql','Database upgrade to version 2.99.7: Fields','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),(50,'upgrade*2.99.7*99*upgrade2.99.7','Upgrade from version 2.99.5 to 2.99.7','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),(51,'sql*2.99.7*0*2.99.7/discussion.sql','','0000-00-00 00:00:00',1,NULL),(52,'func*2.99.7*-1*applyDiscussionUpgrade','func upgrade to version 2.99.7 phase -1','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),(53,'sql*2.99.8*0*2.99.8/mime_types.sql','Database upgrade to version 2.99.8: Mime types','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),(54,'sql*2.99.8*0*2.99.8/category-correction.sql','Database upgrade to version 2.99.8: Category-correction','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),(55,'sql*2.99.8*0*2.99.8/trigger_selection.sql','Database upgrade to version 2.99.8: Trigger selection','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),(56,'sql*2.99.8*0*2.99.8/units.sql','Database upgrade to version 2.99.8: Units','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),(57,'sql*2.99.8*0*2.99.8/type_workflow_map.sql','Database upgrade to version 2.99.8: Type workflow map','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),(58,'sql*2.99.8*0*2.99.8/disabled_documenttypes.sql','Database upgrade to version 2.99.8: Disabled documenttypes','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),(59,'func*2.99.8*1*fixUnits','func upgrade to version 2.99.8 phase 1','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),(60,'sql*2.99.8*10*2.99.8/10-units.sql','Database upgrade to version 2.99.8: Units','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),(61,'sql*2.99.8*15*2.99.8/15-status.sql','Database upgrade to version 2.99.8: Status','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),(62,'sql*2.99.8*20*2.99.8/20-state_permission_assignments.sql','Database upgrade to version 2.99.8: State permission assignments','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),(63,'sql*2.99.8*25*2.99.8/25-authentication_details.sql','Database upgrade to version 2.99.8: Authentication details','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),(64,'upgrade*2.99.8*99*upgrade2.99.8','Upgrade from version 2.99.7 to 2.99.8','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),(65,'func*2.99.9*0*createSecurityDeletePermissions','Create the Core: Manage Security and Core: Delete permissions','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),(66,'func*2.99.9*0*createLdapAuthenticationProvider','Create an LDAP authentication source based on your KT2 LDAP settings (must keep copy of config/environment.php to work)','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),(67,'sql*2.99.9*0*2.99.9/mimetype-friendly.sql','Database upgrade to version 2.99.9: Mimetype-friendly','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),(68,'sql*2.99.9*5*2.99.9/5-opendocument-mime-types.sql','Database upgrade to version 2.99.9: Opendocument-mime-types','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),(69,'sql*3.0*0*3.0/zipfile-mimetype.sql','Database upgrade to version 3.0: Zipfile-mimetype','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),(70,'upgrade*3.0*99*upgrade3.0','Upgrade from version 2.99.8 to 3.0','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),(71,'sql*3.0.1.1*0*3.0.1.1/document_role_allocations.sql','Database upgrade to version 3.0.1.1: Document role allocations','2006-03-28 11:22:19',1,'upgrade*3.0.1.1*99*upgrade3.0.1.1'),(72,'upgrade*3.0.1.1*99*upgrade3.0.1.1','Upgrade from version 3.0 to 3.0.1.1','2006-03-28 11:22:19',1,'upgrade*3.0.1.1*99*upgrade3.0.1.1'),(73,'sql*3.0.1.2*0*3.0.1.2/user_more_authentication_details.sql','Database upgrade to version 3.0.1.2: User more authentication details','2006-04-07 16:50:28',1,'upgrade*3.0.1.2*99*upgrade3.0.1.2'),(74,'upgrade*3.0.1.2*99*upgrade3.0.1.2','Upgrade from version 3.0.1.1 to 3.0.1.2','2006-04-07 16:50:28',1,'upgrade*3.0.1.2*99*upgrade3.0.1.2'),(75,'sql*3.0.1.2*0*3.0.1.2/owner_role_move.sql','Database upgrade to version 3.0.1.2: Owner role move','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),(76,'func*3.0.1.3*0*addTransactionTypes3013','Add new folder transaction types','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),(77,'sql*3.0.1.3*0*3.0.1.3/user_history.sql','Database upgrade to version 3.0.1.3: User history','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),(78,'sql*3.0.1.3*0*3.0.1.3/folder_transactions.sql','Database upgrade to version 3.0.1.3: Folder transactions','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),(79,'sql*3.0.1.3*0*3.0.1.3/plugin-unavailable.sql','Database upgrade to version 3.0.1.3: Plugin-unavailable','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),(80,'func*3.0.1.4*0*createWorkflowPermission','Create the Core: Manage Workflow','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),(81,'upgrade*3.0.1.4*99*upgrade3.0.1.4','Upgrade from version 3.0.1.2 to 3.0.1.4','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),(82,'sql*3.0.1.5*0*3.0.1.5/anonymous-user.sql','Database upgrade to version 3.0.1.5: Anonymous-user','2006-04-18 12:38:41',1,'upgrade*3.0.1.5*99*upgrade3.0.1.5'),(83,'upgrade*3.0.1.5*99*upgrade3.0.1.5','Upgrade from version 3.0.1.4 to 3.0.1.5','2006-04-18 12:38:41',1,'upgrade*3.0.1.5*99*upgrade3.0.1.5'),(84,'sql*3.0.1.6*0*3.0.1.6/workflow-into-metadata.sql','Database upgrade to version 3.0.1.6: Workflow-into-metadata','2006-04-20 14:22:24',1,'upgrade*3.0.1.6*99*upgrade3.0.1.6'),(85,'upgrade*3.0.1.6*99*upgrade3.0.1.6','Upgrade from version 3.0.1.5 to 3.0.1.6','2006-04-20 14:22:24',1,'upgrade*3.0.1.6*99*upgrade3.0.1.6'),(86,'sql*3.0.1.7*0*3.0.1.7/session_id.sql','Database upgrade to version 3.0.1.7: Session id','2006-04-20 17:03:55',1,'upgrade*3.0.1.7*99*upgrade3.0.1.7'),(87,'upgrade*3.0.1.7*99*upgrade3.0.1.7','Upgrade from version 3.0.1.6 to 3.0.1.7','2006-04-20 17:03:56',1,'upgrade*3.0.1.7*99*upgrade3.0.1.7'),(88,'sql*3.0.1.8*0*3.0.1.8/friendly-plugins.sql','Database upgrade to version 3.0.1.8: Friendly-plugins','2006-04-23 12:54:12',1,'upgrade*3.0.1.8*99*upgrade3.0.1.8'),(89,'sql*3.0.1.8*0*3.0.1.8/longer-text.sql','Database upgrade to version 3.0.1.8: Longer-text','2006-04-23 12:54:12',1,'upgrade*3.0.1.8*99*upgrade3.0.1.8'),(90,'sql*3.0.1.8*0*3.0.1.8/admin-mode-logging.sql','Database upgrade to version 3.0.1.8: Admin-mode-logging','2006-04-23 12:54:12',1,'upgrade*3.0.1.8*99*upgrade3.0.1.8'),(91,'upgrade*3.0.1.8*99*upgrade3.0.1.8','Upgrade from version 3.0.1.7 to 3.0.1.8','2006-04-23 12:54:12',1,'upgrade*3.0.1.8*99*upgrade3.0.1.8'),(92,'upgrade*3.0.2*99*upgrade3.0.2','Upgrade from version 3.0.1.8 to 3.0.2','2006-05-02 10:08:13',1,'upgrade*3.0.2*99*upgrade3.0.2'),(93,'sql*3.0.2.1*0*3.0.2.1/disclaimer-help-files.sql','Database upgrade to version 3.0.2.1: Disclaimer-help-files','2006-05-25 16:04:23',1,'upgrade*3.0.2.2*99*upgrade3.0.2.2'),(94,'sql*3.0.2.2*0*3.0.2.2/folder_search.sql','Database upgrade to version 3.0.2.2: Folder search','2006-05-25 16:04:23',1,'upgrade*3.0.2.2*99*upgrade3.0.2.2'),(95,'upgrade*3.0.2.2*99*upgrade3.0.2.2','Upgrade from version 3.0.2 to 3.0.2.2','2006-05-25 16:04:24',1,'upgrade*3.0.2.2*99*upgrade3.0.2.2'),(96,'sql*3.0.2.3*0*3.0.2.3/msi-filetype.sql','Database upgrade to version 3.0.2.3: Msi-filetype','2006-05-30 10:55:58',1,'upgrade*3.0.2.4*99*upgrade3.0.2.4'),(97,'sql*3.0.2.4*0*3.0.2.4/discussion-fulltext.sql','Database upgrade to version 3.0.2.4: Discussion-fulltext','2006-05-30 10:55:59',1,'upgrade*3.0.2.4*99*upgrade3.0.2.4'),(98,'upgrade*3.0.2.4*99*upgrade3.0.2.4','Upgrade from version 3.0.2.2 to 3.0.2.4','2006-05-30 10:55:59',1,'upgrade*3.0.2.4*99*upgrade3.0.2.4'),(99,'upgrade*3.0.3*99*upgrade3.0.3','Upgrade from version 3.0.2.4 to 3.0.3','2006-05-31 13:02:04',1,'upgrade*3.0.3*99*upgrade3.0.3'),(100,'sql*3.0.3.1*0*3.0.3.1/utf8.sql','Database upgrade to version 3.0.3.1: Utf8','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),(101,'sql*3.0.3.1*0*3.0.3.1/document_immutable.sql','Database upgrade to version 3.0.3.1: Document immutable','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),(102,'sql*3.0.3.1*0*3.0.3.1/workflow-triggers.sql','Database upgrade to version 3.0.3.1: Workflow-triggers','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),(103,'func*3.0.3.2*0*createFolderDetailsPermission','Create the Core: Folder Details permission','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),(104,'func*3.0.3.3*0*generateWorkflowTriggers','Migrate old in-transition guards to triggers','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),(105,'sql*3.0.3.4*0*3.0.3.4/column_entries.sql','Database upgrade to version 3.0.3.4: Column entries','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),(106,'sql*3.0.3.4*0*3.0.3.4/bulk_export_transaction.sql','Database upgrade to version 3.0.3.4: Bulk export transaction','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),(107,'upgrade*3.0.3.4*99*upgrade3.0.3.4','Upgrade from version 3.0.3 to 3.0.3.4','2006-07-12 12:00:34',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),(108,'sql*3.0.3.5*0*3.0.3.5/notifications_data_text.sql','Database upgrade to version 3.0.3.5: Notifications data text','2006-07-14 15:26:49',1,'upgrade*3.0.3.5*99*upgrade3.0.3.5'),(109,'upgrade*3.0.3.5*99*upgrade3.0.3.5','Upgrade from version 3.0.3.4 to 3.0.3.5','2006-07-14 15:26:49',1,'upgrade*3.0.3.5*99*upgrade3.0.3.5'),(110,'sql*3.0.3.6*0*3.0.3.6/document-restore.sql','Database upgrade to version 3.0.3.6: Document-restore','2006-07-26 11:48:28',1,'upgrade*3.0.3.7*99*upgrade3.0.3.7'),(111,'func*3.0.3.7*0*rebuildAllPermissions','Rebuild all permissions to ensure correct functioning of permission-definitions.','2006-07-26 11:48:28',1,'upgrade*3.0.3.7*99*upgrade3.0.3.7'),(112,'upgrade*3.0.3.7*99*upgrade3.0.3.7','Upgrade from version 3.0.3.5 to 3.0.3.7','2006-07-26 11:48:28',1,'upgrade*3.0.3.7*99*upgrade3.0.3.7'),(113,'upgrade*3.1*99*upgrade3.1','Upgrade from version 3.0.3.7 to 3.1','2006-07-31 10:41:12',1,'upgrade*3.1*99*upgrade3.1'),(114,'sql*3.1.1*0*3.1.1/parentless-documents.sql','Database upgrade to version 3.1.1: Parentless-documents','2006-08-15 11:58:07',1,'upgrade*3.1.1*99*upgrade3.1.1'),(115,'upgrade*3.1.1*99*upgrade3.1.1','Upgrade from version 3.1 to 3.1.1','2006-08-15 11:58:07',1,'upgrade*3.1.1*99*upgrade3.1.1'),(116,'sql*3.1.2*0*3.1.2/user-disable.sql','Database upgrade to version 3.1.2: User-disable','2006-09-08 17:08:26',1,'upgrade*3.1.2*99*upgrade3.1.2'),(117,'upgrade*3.1.2*99*upgrade3.1.2','Upgrade from version 3.1.1 to 3.1.2','2006-09-08 17:08:26',1,'upgrade*3.1.2*99*upgrade3.1.2'),(118,'func*3.1.5*0*upgradeSavedSearches','Upgrade saved searches to use namespaces instead of integer ids','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(119,'sql*3.1.6*0*3.1.6/interceptor_instances.sql','Database upgrade to version 3.1.6: Interceptor instances','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(120,'sql*3.1.6*0*3.1.6/workflow-sanity.sql','Database upgrade to version 3.1.6: Workflow-sanity','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(121,'sql*3.1.6.2*0*3.1.6.2/workflow_state_disabled_actions.sql','Database upgrade to version 3.1.6.2: Workflow state disabled actions','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(122,'sql*3.1.6.2*0*3.1.6.2/folder_owner_role.sql','Database upgrade to version 3.1.6.2: Folder owner role','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(123,'func*3.1.6.3*0*cleanupGroupMembership','Cleanup any old references to missing groups, etc.','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(124,'sql*3.1.6.3*0*3.1.6.3/groups-integrity.sql','Database upgrade to version 3.1.6.3: Groups-integrity','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(125,'sql*3.1.6.5*0*3.1.6.5/workflow-state-referencefixes.sql','Database upgrade to version 3.1.6.5: Workflow-state-referencefixes','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(126,'sql*3.1.6.6*0*3.1.6.6/copy_transaction.sql','Database upgrade to version 3.1.6.6: Copy transaction','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(127,'sql*3.1.6.7*0*3.1.6.7/sane-names-for-stuff.sql','Database upgrade to version 3.1.6.7: Sane-names-for-stuff','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(128,'upgrade*3.1.6.7*99*upgrade3.1.6.7','Upgrade from version 3.1.2 to 3.1.6.7','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),(129,'sql*3.3.0.1*0*3.3.0.1/system-settings-to-text.sql','Database upgrade to version 3.3.0.1: System-settings-to-text','2007-01-28 23:49:52',1,'upgrade*3.3.1*99*upgrade3.3.1'),(130,'upgrade*3.3.0.1*99*upgrade3.3.0.1','Upgrade from version 3.1.6.7 to 3.3.0.1','2006-10-30 12:49:33',1,'upgrade*3.3.0.1*99*upgrade3.3.0.1'),(131,'sql*3.3.1*0*3.3.1/rss.sql','Database upgrade to version 3.3.1: Rss','2007-01-28 23:49:52',1,'upgrade*3.3.1*99*upgrade3.3.1'),(132,'upgrade*3.3.1*99*upgrade3.3.1','Upgrade from version 3.3.0.1 to 3.3.1','2007-01-28 23:49:52',1,'upgrade*3.3.1*99*upgrade3.3.1'),(133,'sql*3.3.2*0*3.3.2/tagclouds.sql','Database upgrade to version 3.3.2: Tagclouds','2007-02-23 11:55:09',1,'upgrade*3.3.2*99*upgrade3.3.2'),(134,'upgrade*3.3.2*99*upgrade3.3.2','Upgrade from version 3.3.1 to 3.3.2','2007-02-23 11:55:09',1,'upgrade*3.3.2*99*upgrade3.3.2'),(135,'sql*3.4.0*0*3.4.0/upload_download.sql','Upgrade to version 3.4.0: Upload download','2007-04-17 00:00:00',1,'upgrade*3.4.0*99*upgrade3.4.0'),
  1492 +INSERT INTO `upgrades` VALUES
  1493 +(1,'sql*2.0.6*0*2.0.6/create_upgrade_table.sql','Database upgrade to version 2.0.6: Create upgrade table','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),
  1494 +(2,'upgrade*2.0.6*0*upgrade2.0.6','Upgrade from version 2.0.2 to 2.0.6','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),
  1495 +(3,'func*2.0.6*0*addTemplateMimeTypes','Add MIME types for Excel and Word templates','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),
  1496 +(4,'sql*2.0.6*0*2.0.6/add_email_attachment_transaction_type.sql','Database upgrade to version 2.0.6: Add email attachment transaction type','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),
  1497 +(5,'sql*2.0.6*0*2.0.6/create_link_type_table.sql','Database upgrade to version 2.0.6: Create link type table','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),
  1498 +(6,'sql*2.0.6*1*2.0.6/1-update_database_version.sql','Database upgrade to version 2.0.6: Update database version','2005-06-16 00:30:06',1,'upgrade*2.0.6*0*upgrade2.0.6'),
  1499 +(7,'upgrade*2.0.7*0*upgrade2.0.7','Upgrade from version 2.0.7 to 2.0.7','2005-07-21 22:35:15',1,'upgrade*2.0.7*0*upgrade2.0.7'),
  1500 +(8,'sql*2.0.7*0*2.0.7/document_link_update.sql','Database upgrade to version 2.0.7: Document link update','2005-07-21 22:35:16',1,'upgrade*2.0.7*0*upgrade2.0.7'),
  1501 +(9,'sql*2.0.8*0*2.0.8/nestedgroups.sql','Database upgrade to version 2.0.8: Nestedgroups','2005-08-02 16:02:06',1,'upgrade*2.0.8*0*upgrade2.0.8'),
  1502 +(10,'sql*2.0.8*0*2.0.8/help_replacement.sql','Database upgrade to version 2.0.8: Help replacement','2005-08-02 16:02:06',1,'upgrade*2.0.8*0*upgrade2.0.8'),
  1503 +(11,'upgrade*2.0.8*0*upgrade2.0.8','Upgrade from version 2.0.7 to 2.0.8','2005-08-02 16:02:06',1,'upgrade*2.0.8*0*upgrade2.0.8'),
  1504 +(12,'sql*2.0.8*0*2.0.8/permissions.sql','Database upgrade to version 2.0.8: Permissions','2005-08-02 16:02:07',1,'upgrade*2.0.8*0*upgrade2.0.8'),
  1505 +(13,'func*2.0.8*1*setPermissionObject','Set the permission object in charge of a document or folder','2005-08-02 16:02:07',1,'upgrade*2.0.8*0*upgrade2.0.8'),
  1506 +(14,'sql*2.0.8*1*2.0.8/1-metadata_versions.sql','Database upgrade to version 2.0.8: Metadata versions','2005-08-02 16:02:07',1,'upgrade*2.0.8*0*upgrade2.0.8'),
  1507 +(15,'sql*2.0.8*2*2.0.8/2-permissions.sql','Database upgrade to version 2.0.8: Permissions','2005-08-02 16:02:07',1,'upgrade*2.0.8*0*upgrade2.0.8'),
  1508 +(16,'sql*2.0.9*0*2.0.9/storagemanager.sql','','0000-00-00 00:00:00',1,NULL),
  1509 +(17,'sql*2.0.9*0*2.0.9/metadata_tree.sql','','0000-00-00 00:00:00',1,NULL),
  1510 +(18,'sql*2.0.9*0*2.0.9/document_incomplete.sql','','0000-00-00 00:00:00',1,NULL),
  1511 +(20,'upgrade*2.99.1*0*upgrade2.99.1','Upgrade from version 2.0.8 to 2.99.1','2005-10-07 14:26:15',1,'upgrade*2.99.1*0*upgrade2.99.1'),
  1512 +(21,'sql*2.99.1*0*2.99.1/workflow.sql','Database upgrade to version 2.99.1: Workflow','2005-10-07 14:26:15',1,'upgrade*2.99.1*0*upgrade2.99.1'),
  1513 +(22,'sql*2.99.1*0*2.99.1/fieldsets.sql','Database upgrade to version 2.99.1: Fieldsets','2005-10-07 14:26:16',1,'upgrade*2.99.1*0*upgrade2.99.1'),
  1514 +(23,'func*2.99.1*1*createFieldSets','Create a fieldset for each field without one','2005-10-07 14:26:16',1,'upgrade*2.99.1*0*upgrade2.99.1'),
  1515 +(24,'sql*2.99.2*0*2.99.2/saved_searches.sql','','0000-00-00 00:00:00',1,NULL),
  1516 +(25,'sql*2.99.2*0*2.99.2/transactions.sql','','0000-00-00 00:00:00',1,NULL),
  1517 +(26,'sql*2.99.2*0*2.99.2/field_mandatory.sql','','0000-00-00 00:00:00',1,NULL),
  1518 +(27,'sql*2.99.2*0*2.99.2/fieldsets_system.sql','','0000-00-00 00:00:00',1,NULL),
  1519 +(28,'sql*2.99.2*0*2.99.2/permission_by_user_and_roles.sql','','0000-00-00 00:00:00',1,NULL),
  1520 +(29,'sql*2.99.2*0*2.99.2/disabled_metadata.sql','','0000-00-00 00:00:00',1,NULL),
  1521 +(30,'sql*2.99.2*0*2.99.2/searchable_text.sql','','0000-00-00 00:00:00',1,NULL),
  1522 +(31,'sql*2.99.2*0*2.99.2/workflow.sql','','0000-00-00 00:00:00',1,NULL),
  1523 +(32,'sql*2.99.2*1*2.99.2/1-constraints.sql','','0000-00-00 00:00:00',1,NULL),
  1524 +(33,'sql*2.99.3*0*2.99.3/notifications.sql','','0000-00-00 00:00:00',1,NULL),
  1525 +(34,'sql*2.99.3*0*2.99.3/last_modified_user.sql','','0000-00-00 00:00:00',1,NULL),
  1526 +(35,'sql*2.99.3*0*2.99.3/authentication_sources.sql','','0000-00-00 00:00:00',1,NULL),
  1527 +(36,'sql*2.99.3*0*2.99.3/document_fields_constraints.sql','','0000-00-00 00:00:00',1,NULL),
  1528 +(37,'sql*2.99.5*0*2.99.5/dashlet_disabling.sql','','0000-00-00 00:00:00',1,NULL),
  1529 +(38,'sql*2.99.5*0*2.99.5/role_allocations.sql','','0000-00-00 00:00:00',1,NULL),
  1530 +(39,'sql*2.99.5*0*2.99.5/transaction_namespaces.sql','','0000-00-00 00:00:00',1,NULL),
  1531 +(40,'sql*2.99.5*0*2.99.5/fieldset_field_descriptions.sql','','0000-00-00 00:00:00',1,NULL),
  1532 +(41,'sql*2.99.5*0*2.99.5/role_changes.sql','','0000-00-00 00:00:00',1,NULL),
  1533 +(42,'sql*2.99.6*0*2.99.6/table_cleanup.sql','Database upgrade to version 2.99.6: Table cleanup','2006-01-20 17:04:05',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1534 +(43,'sql*2.99.6*0*2.99.6/plugin-registration.sql','Database upgrade to version 2.99.6: Plugin-registration','2006-01-20 17:04:05',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1535 +(44,'sql*2.99.7*0*2.99.7/documents_normalisation.sql','Database upgrade to version 2.99.7: Documents normalisation','2006-01-20 17:04:05',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1536 +(45,'sql*2.99.7*0*2.99.7/help_replacement.sql','Database upgrade to version 2.99.7: Help replacement','2006-01-20 17:04:05',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1537 +(46,'sql*2.99.7*0*2.99.7/table_cleanup.sql','Database upgrade to version 2.99.7: Table cleanup','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1538 +(47,'func*2.99.7*1*normaliseDocuments','Normalise the documents table','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1539 +(48,'sql*2.99.7*10*2.99.7/10-documents_normalisation.sql','Database upgrade to version 2.99.7: Documents normalisation','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1540 +(49,'sql*2.99.7*20*2.99.7/20-fields.sql','Database upgrade to version 2.99.7: Fields','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1541 +(50,'upgrade*2.99.7*99*upgrade2.99.7','Upgrade from version 2.99.5 to 2.99.7','2006-01-20 17:04:07',1,'upgrade*2.99.7*99*upgrade2.99.7'),
  1542 +(51,'sql*2.99.7*0*2.99.7/discussion.sql','','0000-00-00 00:00:00',1,NULL),
  1543 +(52,'func*2.99.7*-1*applyDiscussionUpgrade','func upgrade to version 2.99.7 phase -1','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1544 +(53,'sql*2.99.8*0*2.99.8/mime_types.sql','Database upgrade to version 2.99.8: Mime types','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1545 +(54,'sql*2.99.8*0*2.99.8/category-correction.sql','Database upgrade to version 2.99.8: Category-correction','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1546 +(55,'sql*2.99.8*0*2.99.8/trigger_selection.sql','Database upgrade to version 2.99.8: Trigger selection','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1547 +(56,'sql*2.99.8*0*2.99.8/units.sql','Database upgrade to version 2.99.8: Units','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1548 +(57,'sql*2.99.8*0*2.99.8/type_workflow_map.sql','Database upgrade to version 2.99.8: Type workflow map','2006-02-06 12:23:41',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1549 +(58,'sql*2.99.8*0*2.99.8/disabled_documenttypes.sql','Database upgrade to version 2.99.8: Disabled documenttypes','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1550 +(59,'func*2.99.8*1*fixUnits','func upgrade to version 2.99.8 phase 1','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1551 +(60,'sql*2.99.8*10*2.99.8/10-units.sql','Database upgrade to version 2.99.8: Units','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1552 +(61,'sql*2.99.8*15*2.99.8/15-status.sql','Database upgrade to version 2.99.8: Status','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1553 +(62,'sql*2.99.8*20*2.99.8/20-state_permission_assignments.sql','Database upgrade to version 2.99.8: State permission assignments','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1554 +(63,'sql*2.99.8*25*2.99.8/25-authentication_details.sql','Database upgrade to version 2.99.8: Authentication details','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1555 +(64,'upgrade*2.99.8*99*upgrade2.99.8','Upgrade from version 2.99.7 to 2.99.8','2006-02-06 12:23:42',1,'upgrade*2.99.8*99*upgrade2.99.8'),
  1556 +(65,'func*2.99.9*0*createSecurityDeletePermissions','Create the Core: Manage Security and Core: Delete permissions','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),
  1557 +(66,'func*2.99.9*0*createLdapAuthenticationProvider','Create an LDAP authentication source based on your KT2 LDAP settings (must keep copy of config/environment.php to work)','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),
  1558 +(67,'sql*2.99.9*0*2.99.9/mimetype-friendly.sql','Database upgrade to version 2.99.9: Mimetype-friendly','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),
  1559 +(68,'sql*2.99.9*5*2.99.9/5-opendocument-mime-types.sql','Database upgrade to version 2.99.9: Opendocument-mime-types','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),
  1560 +(69,'sql*3.0*0*3.0/zipfile-mimetype.sql','Database upgrade to version 3.0: Zipfile-mimetype','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),
  1561 +(70,'upgrade*3.0*99*upgrade3.0','Upgrade from version 2.99.8 to 3.0','2006-02-28 09:23:21',1,'upgrade*3.0*99*upgrade3.0'),
  1562 +(71,'sql*3.0.1.1*0*3.0.1.1/document_role_allocations.sql','Database upgrade to version 3.0.1.1: Document role allocations','2006-03-28 11:22:19',1,'upgrade*3.0.1.1*99*upgrade3.0.1.1'),
  1563 +(72,'upgrade*3.0.1.1*99*upgrade3.0.1.1','Upgrade from version 3.0 to 3.0.1.1','2006-03-28 11:22:19',1,'upgrade*3.0.1.1*99*upgrade3.0.1.1'),
  1564 +(73,'sql*3.0.1.2*0*3.0.1.2/user_more_authentication_details.sql','Database upgrade to version 3.0.1.2: User more authentication details','2006-04-07 16:50:28',1,'upgrade*3.0.1.2*99*upgrade3.0.1.2'),
  1565 +(74,'upgrade*3.0.1.2*99*upgrade3.0.1.2','Upgrade from version 3.0.1.1 to 3.0.1.2','2006-04-07 16:50:28',1,'upgrade*3.0.1.2*99*upgrade3.0.1.2'),
  1566 +(75,'sql*3.0.1.2*0*3.0.1.2/owner_role_move.sql','Database upgrade to version 3.0.1.2: Owner role move','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),
  1567 +(76,'func*3.0.1.3*0*addTransactionTypes3013','Add new folder transaction types','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),
  1568 +(77,'sql*3.0.1.3*0*3.0.1.3/user_history.sql','Database upgrade to version 3.0.1.3: User history','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),
  1569 +(78,'sql*3.0.1.3*0*3.0.1.3/folder_transactions.sql','Database upgrade to version 3.0.1.3: Folder transactions','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),
  1570 +(79,'sql*3.0.1.3*0*3.0.1.3/plugin-unavailable.sql','Database upgrade to version 3.0.1.3: Plugin-unavailable','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),
  1571 +(80,'func*3.0.1.4*0*createWorkflowPermission','Create the Core: Manage Workflow','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),
  1572 +(81,'upgrade*3.0.1.4*99*upgrade3.0.1.4','Upgrade from version 3.0.1.2 to 3.0.1.4','2006-04-18 11:06:34',1,'upgrade*3.0.1.4*99*upgrade3.0.1.4'),
  1573 +(82,'sql*3.0.1.5*0*3.0.1.5/anonymous-user.sql','Database upgrade to version 3.0.1.5: Anonymous-user','2006-04-18 12:38:41',1,'upgrade*3.0.1.5*99*upgrade3.0.1.5'),
  1574 +(83,'upgrade*3.0.1.5*99*upgrade3.0.1.5','Upgrade from version 3.0.1.4 to 3.0.1.5','2006-04-18 12:38:41',1,'upgrade*3.0.1.5*99*upgrade3.0.1.5'),
  1575 +(84,'sql*3.0.1.6*0*3.0.1.6/workflow-into-metadata.sql','Database upgrade to version 3.0.1.6: Workflow-into-metadata','2006-04-20 14:22:24',1,'upgrade*3.0.1.6*99*upgrade3.0.1.6'),
  1576 +(85,'upgrade*3.0.1.6*99*upgrade3.0.1.6','Upgrade from version 3.0.1.5 to 3.0.1.6','2006-04-20 14:22:24',1,'upgrade*3.0.1.6*99*upgrade3.0.1.6'),
  1577 +(86,'sql*3.0.1.7*0*3.0.1.7/session_id.sql','Database upgrade to version 3.0.1.7: Session id','2006-04-20 17:03:55',1,'upgrade*3.0.1.7*99*upgrade3.0.1.7'),
  1578 +(87,'upgrade*3.0.1.7*99*upgrade3.0.1.7','Upgrade from version 3.0.1.6 to 3.0.1.7','2006-04-20 17:03:56',1,'upgrade*3.0.1.7*99*upgrade3.0.1.7'),
  1579 +(88,'sql*3.0.1.8*0*3.0.1.8/friendly-plugins.sql','Database upgrade to version 3.0.1.8: Friendly-plugins','2006-04-23 12:54:12',1,'upgrade*3.0.1.8*99*upgrade3.0.1.8'),
  1580 +(89,'sql*3.0.1.8*0*3.0.1.8/longer-text.sql','Database upgrade to version 3.0.1.8: Longer-text','2006-04-23 12:54:12',1,'upgrade*3.0.1.8*99*upgrade3.0.1.8'),
  1581 +(90,'sql*3.0.1.8*0*3.0.1.8/admin-mode-logging.sql','Database upgrade to version 3.0.1.8: Admin-mode-logging','2006-04-23 12:54:12',1,'upgrade*3.0.1.8*99*upgrade3.0.1.8'),
  1582 +(91,'upgrade*3.0.1.8*99*upgrade3.0.1.8','Upgrade from version 3.0.1.7 to 3.0.1.8','2006-04-23 12:54:12',1,'upgrade*3.0.1.8*99*upgrade3.0.1.8'),
  1583 +(92,'upgrade*3.0.2*99*upgrade3.0.2','Upgrade from version 3.0.1.8 to 3.0.2','2006-05-02 10:08:13',1,'upgrade*3.0.2*99*upgrade3.0.2'),
  1584 +(93,'sql*3.0.2.1*0*3.0.2.1/disclaimer-help-files.sql','Database upgrade to version 3.0.2.1: Disclaimer-help-files','2006-05-25 16:04:23',1,'upgrade*3.0.2.2*99*upgrade3.0.2.2'),
  1585 +(94,'sql*3.0.2.2*0*3.0.2.2/folder_search.sql','Database upgrade to version 3.0.2.2: Folder search','2006-05-25 16:04:23',1,'upgrade*3.0.2.2*99*upgrade3.0.2.2'),
  1586 +(95,'upgrade*3.0.2.2*99*upgrade3.0.2.2','Upgrade from version 3.0.2 to 3.0.2.2','2006-05-25 16:04:24',1,'upgrade*3.0.2.2*99*upgrade3.0.2.2'),
  1587 +(96,'sql*3.0.2.3*0*3.0.2.3/msi-filetype.sql','Database upgrade to version 3.0.2.3: Msi-filetype','2006-05-30 10:55:58',1,'upgrade*3.0.2.4*99*upgrade3.0.2.4'),
  1588 +(97,'sql*3.0.2.4*0*3.0.2.4/discussion-fulltext.sql','Database upgrade to version 3.0.2.4: Discussion-fulltext','2006-05-30 10:55:59',1,'upgrade*3.0.2.4*99*upgrade3.0.2.4'),
  1589 +(98,'upgrade*3.0.2.4*99*upgrade3.0.2.4','Upgrade from version 3.0.2.2 to 3.0.2.4','2006-05-30 10:55:59',1,'upgrade*3.0.2.4*99*upgrade3.0.2.4'),
  1590 +(99,'upgrade*3.0.3*99*upgrade3.0.3','Upgrade from version 3.0.2.4 to 3.0.3','2006-05-31 13:02:04',1,'upgrade*3.0.3*99*upgrade3.0.3'),
  1591 +(100,'sql*3.0.3.1*0*3.0.3.1/utf8.sql','Database upgrade to version 3.0.3.1: Utf8','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),
  1592 +(101,'sql*3.0.3.1*0*3.0.3.1/document_immutable.sql','Database upgrade to version 3.0.3.1: Document immutable','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),
  1593 +(102,'sql*3.0.3.1*0*3.0.3.1/workflow-triggers.sql','Database upgrade to version 3.0.3.1: Workflow-triggers','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),
  1594 +(103,'func*3.0.3.2*0*createFolderDetailsPermission','Create the Core: Folder Details permission','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),
  1595 +(104,'func*3.0.3.3*0*generateWorkflowTriggers','Migrate old in-transition guards to triggers','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),
  1596 +(105,'sql*3.0.3.4*0*3.0.3.4/column_entries.sql','Database upgrade to version 3.0.3.4: Column entries','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),
  1597 +(106,'sql*3.0.3.4*0*3.0.3.4/bulk_export_transaction.sql','Database upgrade to version 3.0.3.4: Bulk export transaction','2006-07-12 12:00:33',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),
  1598 +(107,'upgrade*3.0.3.4*99*upgrade3.0.3.4','Upgrade from version 3.0.3 to 3.0.3.4','2006-07-12 12:00:34',1,'upgrade*3.0.3.4*99*upgrade3.0.3.4'),
  1599 +(108,'sql*3.0.3.5*0*3.0.3.5/notifications_data_text.sql','Database upgrade to version 3.0.3.5: Notifications data text','2006-07-14 15:26:49',1,'upgrade*3.0.3.5*99*upgrade3.0.3.5'),
  1600 +(109,'upgrade*3.0.3.5*99*upgrade3.0.3.5','Upgrade from version 3.0.3.4 to 3.0.3.5','2006-07-14 15:26:49',1,'upgrade*3.0.3.5*99*upgrade3.0.3.5'),
  1601 +(110,'sql*3.0.3.6*0*3.0.3.6/document-restore.sql','Database upgrade to version 3.0.3.6: Document-restore','2006-07-26 11:48:28',1,'upgrade*3.0.3.7*99*upgrade3.0.3.7'),
  1602 +(111,'func*3.0.3.7*0*rebuildAllPermissions','Rebuild all permissions to ensure correct functioning of permission-definitions.','2006-07-26 11:48:28',1,'upgrade*3.0.3.7*99*upgrade3.0.3.7'),
  1603 +(112,'upgrade*3.0.3.7*99*upgrade3.0.3.7','Upgrade from version 3.0.3.5 to 3.0.3.7','2006-07-26 11:48:28',1,'upgrade*3.0.3.7*99*upgrade3.0.3.7'),
  1604 +(113,'upgrade*3.1*99*upgrade3.1','Upgrade from version 3.0.3.7 to 3.1','2006-07-31 10:41:12',1,'upgrade*3.1*99*upgrade3.1'),
  1605 +(114,'sql*3.1.1*0*3.1.1/parentless-documents.sql','Database upgrade to version 3.1.1: Parentless-documents','2006-08-15 11:58:07',1,'upgrade*3.1.1*99*upgrade3.1.1'),
  1606 +(115,'upgrade*3.1.1*99*upgrade3.1.1','Upgrade from version 3.1 to 3.1.1','2006-08-15 11:58:07',1,'upgrade*3.1.1*99*upgrade3.1.1'),
  1607 +(116,'sql*3.1.2*0*3.1.2/user-disable.sql','Database upgrade to version 3.1.2: User-disable','2006-09-08 17:08:26',1,'upgrade*3.1.2*99*upgrade3.1.2'),
  1608 +(117,'upgrade*3.1.2*99*upgrade3.1.2','Upgrade from version 3.1.1 to 3.1.2','2006-09-08 17:08:26',1,'upgrade*3.1.2*99*upgrade3.1.2'),
  1609 +(118,'func*3.1.5*0*upgradeSavedSearches','Upgrade saved searches to use namespaces instead of integer ids','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1610 +(119,'sql*3.1.6*0*3.1.6/interceptor_instances.sql','Database upgrade to version 3.1.6: Interceptor instances','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1611 +(120,'sql*3.1.6*0*3.1.6/workflow-sanity.sql','Database upgrade to version 3.1.6: Workflow-sanity','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1612 +(121,'sql*3.1.6.2*0*3.1.6.2/workflow_state_disabled_actions.sql','Database upgrade to version 3.1.6.2: Workflow state disabled actions','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1613 +(122,'sql*3.1.6.2*0*3.1.6.2/folder_owner_role.sql','Database upgrade to version 3.1.6.2: Folder owner role','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1614 +(123,'func*3.1.6.3*0*cleanupGroupMembership','Cleanup any old references to missing groups, etc.','2006-10-17 12:09:45',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1615 +(124,'sql*3.1.6.3*0*3.1.6.3/groups-integrity.sql','Database upgrade to version 3.1.6.3: Groups-integrity','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1616 +(125,'sql*3.1.6.5*0*3.1.6.5/workflow-state-referencefixes.sql','Database upgrade to version 3.1.6.5: Workflow-state-referencefixes','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1617 +(126,'sql*3.1.6.6*0*3.1.6.6/copy_transaction.sql','Database upgrade to version 3.1.6.6: Copy transaction','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1618 +(127,'sql*3.1.6.7*0*3.1.6.7/sane-names-for-stuff.sql','Database upgrade to version 3.1.6.7: Sane-names-for-stuff','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1619 +(128,'upgrade*3.1.6.7*99*upgrade3.1.6.7','Upgrade from version 3.1.2 to 3.1.6.7','2006-10-17 12:09:46',1,'upgrade*3.1.6.7*99*upgrade3.1.6.7'),
  1620 +(129,'sql*3.3.0.1*0*3.3.0.1/system-settings-to-text.sql','Database upgrade to version 3.3.0.1: System-settings-to-text','2007-01-28 23:49:52',1,'upgrade*3.3.1*99*upgrade3.3.1'),
  1621 +(130,'upgrade*3.3.0.1*99*upgrade3.3.0.1','Upgrade from version 3.1.6.7 to 3.3.0.1','2006-10-30 12:49:33',1,'upgrade*3.3.0.1*99*upgrade3.3.0.1'),
  1622 +(131,'sql*3.3.1*0*3.3.1/rss.sql','Database upgrade to version 3.3.1: Rss','2007-01-28 23:49:52',1,'upgrade*3.3.1*99*upgrade3.3.1'),
  1623 +(132,'upgrade*3.3.1*99*upgrade3.3.1','Upgrade from version 3.3.0.1 to 3.3.1','2007-01-28 23:49:52',1,'upgrade*3.3.1*99*upgrade3.3.1'),
  1624 +(133,'sql*3.3.2*0*3.3.2/tagclouds.sql','Database upgrade to version 3.3.2: Tagclouds','2007-02-23 11:55:09',1,'upgrade*3.3.2*99*upgrade3.3.2'),
  1625 +(134,'upgrade*3.3.2*99*upgrade3.3.2','Upgrade from version 3.3.1 to 3.3.2','2007-02-23 11:55:09',1,'upgrade*3.3.2*99*upgrade3.3.2'),
  1626 +(135,'sql*3.4.0*0*3.4.0/upload_download.sql','Upgrade to version 3.4.0: Upload download','2007-04-17 00:00:00',1,'upgrade*3.4.0*99*upgrade3.4.0'),
1233 1627 (136,'upgrade*3.4.0*99*upgrade3.4.0','Upgrade from version 3.3.2 to 3.4.0','2007-04-17 00:00:00',1,'upgrade*3.4.0*99*upgrade3.4.0'),
1234 1628 (137,'sql*3.4.5*0*3.4.5/plugin_helper.sql','Create the plugin helper table.','2007-11-20 00:00:00',1,'upgrade*3.4.5*99*upgrade3.4.5'),
1235 1629 (138,'upgrade*3.4.5*99*upgrade3.4.5','Upgrade from version 3.4.0 to 3.4.5','2007-11-20 00:00:00',1,'upgrade*3.4.5*99*upgrade3.4.5'),
... ... @@ -1306,7 +1700,9 @@ UNLOCK TABLES;
1306 1700  
1307 1701 LOCK TABLES `users` WRITE;
1308 1702 /*!40000 ALTER TABLE `users` DISABLE KEYS */;
1309   -INSERT INTO `users` VALUES (-2,'anonymous','Anonymous','---------------',0,0,NULL,NULL,0,0,NULL,30000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),(1,'admin','Administrator','21232f297a57a5a743894a0e4a801fc3',0,0,'','',1,1,'',1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);
  1703 +INSERT INTO `users` VALUES
  1704 +(-2,'anonymous','Anonymous','---------------',0,0,NULL,NULL,0,0,NULL,30000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),
  1705 +(1,'admin','Administrator','21232f297a57a5a743894a0e4a801fc3',0,0,'','',1,1,'',1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);
1310 1706 /*!40000 ALTER TABLE `users` ENABLE KEYS */;
1311 1707 UNLOCK TABLES;
1312 1708  
... ... @@ -1316,7 +1712,8 @@ UNLOCK TABLES;
1316 1712  
1317 1713 LOCK TABLES `users_groups_link` WRITE;
1318 1714 /*!40000 ALTER TABLE `users_groups_link` DISABLE KEYS */;
1319   -INSERT INTO `users_groups_link` VALUES (1,1,1);
  1715 +INSERT INTO `users_groups_link` VALUES
  1716 +(1,1,1);
1320 1717 /*!40000 ALTER TABLE `users_groups_link` ENABLE KEYS */;
1321 1718 UNLOCK TABLES;
1322 1719  
... ... @@ -1371,7 +1768,12 @@ UNLOCK TABLES;
1371 1768  
1372 1769 LOCK TABLES `workflow_state_transitions` WRITE;
1373 1770 /*!40000 ALTER TABLE `workflow_state_transitions` DISABLE KEYS */;
1374   -INSERT INTO `workflow_state_transitions` VALUES (2,2),(3,3),(3,4),(5,5),(6,6);
  1771 +INSERT INTO `workflow_state_transitions` VALUES
  1772 +(2,2),
  1773 +(3,3),
  1774 +(3,4),
  1775 +(5,5),
  1776 +(6,6);
1375 1777 /*!40000 ALTER TABLE `workflow_state_transitions` ENABLE KEYS */;
1376 1778 UNLOCK TABLES;
1377 1779  
... ... @@ -1381,7 +1783,13 @@ UNLOCK TABLES;
1381 1783  
1382 1784 LOCK TABLES `workflow_states` WRITE;
1383 1785 /*!40000 ALTER TABLE `workflow_states` DISABLE KEYS */;
1384   -INSERT INTO `workflow_states` VALUES (2,2,'Draft','Draft',NULL,0,0),(3,2,'Approval','Approval',NULL,0,0),(4,2,'Published','Published',NULL,0,0),(5,3,'Draft','Draft',NULL,0,0),(6,3,'Final','Final',NULL,0,0),(7,3,'Published','Published',NULL,0,0);
  1786 +INSERT INTO `workflow_states` VALUES
  1787 +(2,2,'Draft','Draft',NULL,0,0),
  1788 +(3,2,'Approval','Approval',NULL,0,0),
  1789 +(4,2,'Published','Published',NULL,0,0),
  1790 +(5,3,'Draft','Draft',NULL,0,0),
  1791 +(6,3,'Final','Final',NULL,0,0),
  1792 +(7,3,'Published','Published',NULL,0,0);
1385 1793 /*!40000 ALTER TABLE `workflow_states` ENABLE KEYS */;
1386 1794 UNLOCK TABLES;
1387 1795  
... ... @@ -1391,7 +1799,12 @@ UNLOCK TABLES;
1391 1799  
1392 1800 LOCK TABLES `workflow_transitions` WRITE;
1393 1801 /*!40000 ALTER TABLE `workflow_transitions` DISABLE KEYS */;
1394   -INSERT INTO `workflow_transitions` VALUES (2,2,'Request Approval','Request Approval',3,NULL,NULL,NULL,NULL),(3,2,'Reject','Reject',2,NULL,NULL,NULL,NULL),(4,2,'Approve','Approve',4,NULL,NULL,NULL,NULL),(5,3,'Draft Completed','Draft Completed',6,NULL,NULL,NULL,NULL),(6,3,'Publish','Publish',7,NULL,NULL,NULL,NULL);
  1802 +INSERT INTO `workflow_transitions` VALUES
  1803 +(2,2,'Request Approval','Request Approval',3,NULL,NULL,NULL,NULL),
  1804 +(3,2,'Reject','Reject',2,NULL,NULL,NULL,NULL),
  1805 +(4,2,'Approve','Approve',4,NULL,NULL,NULL,NULL),
  1806 +(5,3,'Draft Completed','Draft Completed',6,NULL,NULL,NULL,NULL),
  1807 +(6,3,'Publish','Publish',7,NULL,NULL,NULL,NULL);
1395 1808 /*!40000 ALTER TABLE `workflow_transitions` ENABLE KEYS */;
1396 1809 UNLOCK TABLES;
1397 1810  
... ... @@ -1410,7 +1823,9 @@ UNLOCK TABLES;
1410 1823  
1411 1824 LOCK TABLES `workflows` WRITE;
1412 1825 /*!40000 ALTER TABLE `workflows` DISABLE KEYS */;
1413   -INSERT INTO `workflows` VALUES (2,'Review Process','Review Process',2,1),(3,'Generate Document','Generate Document',5,1);
  1826 +INSERT INTO `workflows` VALUES
  1827 +(2,'Review Process','Review Process',2,1),
  1828 +(3,'Generate Document','Generate Document',5,1);
1414 1829 /*!40000 ALTER TABLE `workflows` ENABLE KEYS */;
1415 1830 UNLOCK TABLES;
1416 1831  
... ... @@ -1420,7 +1835,8 @@ UNLOCK TABLES;
1420 1835  
1421 1836 LOCK TABLES `zseq_active_sessions` WRITE;
1422 1837 /*!40000 ALTER TABLE `zseq_active_sessions` DISABLE KEYS */;
1423   -INSERT INTO `zseq_active_sessions` VALUES (1);
  1838 +INSERT INTO `zseq_active_sessions` VALUES
  1839 +(1);
1424 1840 /*!40000 ALTER TABLE `zseq_active_sessions` ENABLE KEYS */;
1425 1841 UNLOCK TABLES;
1426 1842  
... ... @@ -1430,7 +1846,8 @@ UNLOCK TABLES;
1430 1846  
1431 1847 LOCK TABLES `zseq_archive_restoration_request` WRITE;
1432 1848 /*!40000 ALTER TABLE `zseq_archive_restoration_request` DISABLE KEYS */;
1433   -INSERT INTO `zseq_archive_restoration_request` VALUES (1);
  1849 +INSERT INTO `zseq_archive_restoration_request` VALUES
  1850 +(1);
1434 1851 /*!40000 ALTER TABLE `zseq_archive_restoration_request` ENABLE KEYS */;
1435 1852 UNLOCK TABLES;
1436 1853  
... ... @@ -1440,7 +1857,8 @@ UNLOCK TABLES;
1440 1857  
1441 1858 LOCK TABLES `zseq_archiving_settings` WRITE;
1442 1859 /*!40000 ALTER TABLE `zseq_archiving_settings` DISABLE KEYS */;
1443   -INSERT INTO `zseq_archiving_settings` VALUES (1);
  1860 +INSERT INTO `zseq_archiving_settings` VALUES
  1861 +(1);
1444 1862 /*!40000 ALTER TABLE `zseq_archiving_settings` ENABLE KEYS */;
1445 1863 UNLOCK TABLES;
1446 1864  
... ... @@ -1450,7 +1868,8 @@ UNLOCK TABLES;
1450 1868  
1451 1869 LOCK TABLES `zseq_archiving_type_lookup` WRITE;
1452 1870 /*!40000 ALTER TABLE `zseq_archiving_type_lookup` DISABLE KEYS */;
1453   -INSERT INTO `zseq_archiving_type_lookup` VALUES (2);
  1871 +INSERT INTO `zseq_archiving_type_lookup` VALUES
  1872 +(2);
1454 1873 /*!40000 ALTER TABLE `zseq_archiving_type_lookup` ENABLE KEYS */;
1455 1874 UNLOCK TABLES;
1456 1875  
... ... @@ -1460,7 +1879,8 @@ UNLOCK TABLES;
1460 1879  
1461 1880 LOCK TABLES `zseq_authentication_sources` WRITE;
1462 1881 /*!40000 ALTER TABLE `zseq_authentication_sources` DISABLE KEYS */;
1463   -INSERT INTO `zseq_authentication_sources` VALUES (1);
  1882 +INSERT INTO `zseq_authentication_sources` VALUES
  1883 +(1);
1464 1884 /*!40000 ALTER TABLE `zseq_authentication_sources` ENABLE KEYS */;
1465 1885 UNLOCK TABLES;
1466 1886  
... ... @@ -1470,17 +1890,28 @@ UNLOCK TABLES;
1470 1890  
1471 1891 LOCK TABLES `zseq_column_entries` WRITE;
1472 1892 /*!40000 ALTER TABLE `zseq_column_entries` DISABLE KEYS */;
1473   -INSERT INTO `zseq_column_entries` VALUES (14);
  1893 +INSERT INTO `zseq_column_entries` VALUES
  1894 +(14);
1474 1895 /*!40000 ALTER TABLE `zseq_column_entries` ENABLE KEYS */;
1475 1896 UNLOCK TABLES;
1476 1897  
1477 1898 --
  1899 +-- Dumping data for table `zseq_config_settings`
  1900 +--
  1901 +
  1902 +LOCK TABLES `zseq_config_settings` WRITE;
  1903 +/*!40000 ALTER TABLE `zseq_config_settings` DISABLE KEYS */;
  1904 +/*!40000 ALTER TABLE `zseq_config_settings` ENABLE KEYS */;
  1905 +UNLOCK TABLES;
  1906 +
  1907 +--
1478 1908 -- Dumping data for table `zseq_dashlet_disables`
1479 1909 --
1480 1910  
1481 1911 LOCK TABLES `zseq_dashlet_disables` WRITE;
1482 1912 /*!40000 ALTER TABLE `zseq_dashlet_disables` DISABLE KEYS */;
1483   -INSERT INTO `zseq_dashlet_disables` VALUES (1);
  1913 +INSERT INTO `zseq_dashlet_disables` VALUES
  1914 +(1);
1484 1915 /*!40000 ALTER TABLE `zseq_dashlet_disables` ENABLE KEYS */;
1485 1916 UNLOCK TABLES;
1486 1917  
... ... @@ -1490,7 +1921,8 @@ UNLOCK TABLES;
1490 1921  
1491 1922 LOCK TABLES `zseq_data_types` WRITE;
1492 1923 /*!40000 ALTER TABLE `zseq_data_types` DISABLE KEYS */;
1493   -INSERT INTO `zseq_data_types` VALUES (5);
  1924 +INSERT INTO `zseq_data_types` VALUES
  1925 +(5);
1494 1926 /*!40000 ALTER TABLE `zseq_data_types` ENABLE KEYS */;
1495 1927 UNLOCK TABLES;
1496 1928  
... ... @@ -1500,7 +1932,8 @@ UNLOCK TABLES;
1500 1932  
1501 1933 LOCK TABLES `zseq_discussion_comments` WRITE;
1502 1934 /*!40000 ALTER TABLE `zseq_discussion_comments` DISABLE KEYS */;
1503   -INSERT INTO `zseq_discussion_comments` VALUES (1);
  1935 +INSERT INTO `zseq_discussion_comments` VALUES
  1936 +(1);
1504 1937 /*!40000 ALTER TABLE `zseq_discussion_comments` ENABLE KEYS */;
1505 1938 UNLOCK TABLES;
1506 1939  
... ... @@ -1510,7 +1943,8 @@ UNLOCK TABLES;
1510 1943  
1511 1944 LOCK TABLES `zseq_discussion_threads` WRITE;
1512 1945 /*!40000 ALTER TABLE `zseq_discussion_threads` DISABLE KEYS */;
1513   -INSERT INTO `zseq_discussion_threads` VALUES (1);
  1946 +INSERT INTO `zseq_discussion_threads` VALUES
  1947 +(1);
1514 1948 /*!40000 ALTER TABLE `zseq_discussion_threads` ENABLE KEYS */;
1515 1949 UNLOCK TABLES;
1516 1950  
... ... @@ -1520,7 +1954,8 @@ UNLOCK TABLES;
1520 1954  
1521 1955 LOCK TABLES `zseq_document_archiving_link` WRITE;
1522 1956 /*!40000 ALTER TABLE `zseq_document_archiving_link` DISABLE KEYS */;
1523   -INSERT INTO `zseq_document_archiving_link` VALUES (1);
  1957 +INSERT INTO `zseq_document_archiving_link` VALUES
  1958 +(1);
1524 1959 /*!40000 ALTER TABLE `zseq_document_archiving_link` ENABLE KEYS */;
1525 1960 UNLOCK TABLES;
1526 1961  
... ... @@ -1530,7 +1965,8 @@ UNLOCK TABLES;
1530 1965  
1531 1966 LOCK TABLES `zseq_document_content_version` WRITE;
1532 1967 /*!40000 ALTER TABLE `zseq_document_content_version` DISABLE KEYS */;
1533   -INSERT INTO `zseq_document_content_version` VALUES (1);
  1968 +INSERT INTO `zseq_document_content_version` VALUES
  1969 +(1);
1534 1970 /*!40000 ALTER TABLE `zseq_document_content_version` ENABLE KEYS */;
1535 1971 UNLOCK TABLES;
1536 1972  
... ... @@ -1540,7 +1976,8 @@ UNLOCK TABLES;
1540 1976  
1541 1977 LOCK TABLES `zseq_document_fields` WRITE;
1542 1978 /*!40000 ALTER TABLE `zseq_document_fields` DISABLE KEYS */;
1543   -INSERT INTO `zseq_document_fields` VALUES (5);
  1979 +INSERT INTO `zseq_document_fields` VALUES
  1980 +(5);
1544 1981 /*!40000 ALTER TABLE `zseq_document_fields` ENABLE KEYS */;
1545 1982 UNLOCK TABLES;
1546 1983  
... ... @@ -1550,7 +1987,8 @@ UNLOCK TABLES;
1550 1987  
1551 1988 LOCK TABLES `zseq_document_fields_link` WRITE;
1552 1989 /*!40000 ALTER TABLE `zseq_document_fields_link` DISABLE KEYS */;
1553   -INSERT INTO `zseq_document_fields_link` VALUES (1);
  1990 +INSERT INTO `zseq_document_fields_link` VALUES
  1991 +(1);
1554 1992 /*!40000 ALTER TABLE `zseq_document_fields_link` ENABLE KEYS */;
1555 1993 UNLOCK TABLES;
1556 1994  
... ... @@ -1560,7 +1998,8 @@ UNLOCK TABLES;
1560 1998  
1561 1999 LOCK TABLES `zseq_document_link` WRITE;
1562 2000 /*!40000 ALTER TABLE `zseq_document_link` DISABLE KEYS */;
1563   -INSERT INTO `zseq_document_link` VALUES (1);
  2001 +INSERT INTO `zseq_document_link` VALUES
  2002 +(1);
1564 2003 /*!40000 ALTER TABLE `zseq_document_link` ENABLE KEYS */;
1565 2004 UNLOCK TABLES;
1566 2005  
... ... @@ -1570,7 +2009,8 @@ UNLOCK TABLES;
1570 2009  
1571 2010 LOCK TABLES `zseq_document_link_types` WRITE;
1572 2011 /*!40000 ALTER TABLE `zseq_document_link_types` DISABLE KEYS */;
1573   -INSERT INTO `zseq_document_link_types` VALUES (5);
  2012 +INSERT INTO `zseq_document_link_types` VALUES
  2013 +(5);
1574 2014 /*!40000 ALTER TABLE `zseq_document_link_types` ENABLE KEYS */;
1575 2015 UNLOCK TABLES;
1576 2016  
... ... @@ -1580,7 +2020,8 @@ UNLOCK TABLES;
1580 2020  
1581 2021 LOCK TABLES `zseq_document_metadata_version` WRITE;
1582 2022 /*!40000 ALTER TABLE `zseq_document_metadata_version` DISABLE KEYS */;
1583   -INSERT INTO `zseq_document_metadata_version` VALUES (1);
  2023 +INSERT INTO `zseq_document_metadata_version` VALUES
  2024 +(1);
1584 2025 /*!40000 ALTER TABLE `zseq_document_metadata_version` ENABLE KEYS */;
1585 2026 UNLOCK TABLES;
1586 2027  
... ... @@ -1599,7 +2040,8 @@ UNLOCK TABLES;
1599 2040  
1600 2041 LOCK TABLES `zseq_document_subscriptions` WRITE;
1601 2042 /*!40000 ALTER TABLE `zseq_document_subscriptions` DISABLE KEYS */;
1602   -INSERT INTO `zseq_document_subscriptions` VALUES (1);
  2043 +INSERT INTO `zseq_document_subscriptions` VALUES
  2044 +(1);
1603 2045 /*!40000 ALTER TABLE `zseq_document_subscriptions` ENABLE KEYS */;
1604 2046 UNLOCK TABLES;
1605 2047  
... ... @@ -1609,7 +2051,8 @@ UNLOCK TABLES;
1609 2051  
1610 2052 LOCK TABLES `zseq_document_tags` WRITE;
1611 2053 /*!40000 ALTER TABLE `zseq_document_tags` DISABLE KEYS */;
1612   -INSERT INTO `zseq_document_tags` VALUES (1);
  2054 +INSERT INTO `zseq_document_tags` VALUES
  2055 +(1);
1613 2056 /*!40000 ALTER TABLE `zseq_document_tags` ENABLE KEYS */;
1614 2057 UNLOCK TABLES;
1615 2058  
... ... @@ -1619,7 +2062,8 @@ UNLOCK TABLES;
1619 2062  
1620 2063 LOCK TABLES `zseq_document_transaction_types_lookup` WRITE;
1621 2064 /*!40000 ALTER TABLE `zseq_document_transaction_types_lookup` DISABLE KEYS */;
1622   -INSERT INTO `zseq_document_transaction_types_lookup` VALUES (21);
  2065 +INSERT INTO `zseq_document_transaction_types_lookup` VALUES
  2066 +(21);
1623 2067 /*!40000 ALTER TABLE `zseq_document_transaction_types_lookup` ENABLE KEYS */;
1624 2068 UNLOCK TABLES;
1625 2069  
... ... @@ -1629,7 +2073,8 @@ UNLOCK TABLES;
1629 2073  
1630 2074 LOCK TABLES `zseq_document_transactions` WRITE;
1631 2075 /*!40000 ALTER TABLE `zseq_document_transactions` DISABLE KEYS */;
1632   -INSERT INTO `zseq_document_transactions` VALUES (1);
  2076 +INSERT INTO `zseq_document_transactions` VALUES
  2077 +(1);
1633 2078 /*!40000 ALTER TABLE `zseq_document_transactions` ENABLE KEYS */;
1634 2079 UNLOCK TABLES;
1635 2080  
... ... @@ -1639,7 +2084,8 @@ UNLOCK TABLES;
1639 2084  
1640 2085 LOCK TABLES `zseq_document_type_fields_link` WRITE;
1641 2086 /*!40000 ALTER TABLE `zseq_document_type_fields_link` DISABLE KEYS */;
1642   -INSERT INTO `zseq_document_type_fields_link` VALUES (1);
  2087 +INSERT INTO `zseq_document_type_fields_link` VALUES
  2088 +(1);
1643 2089 /*!40000 ALTER TABLE `zseq_document_type_fields_link` ENABLE KEYS */;
1644 2090 UNLOCK TABLES;
1645 2091  
... ... @@ -1649,7 +2095,8 @@ UNLOCK TABLES;
1649 2095  
1650 2096 LOCK TABLES `zseq_document_type_fieldsets_link` WRITE;
1651 2097 /*!40000 ALTER TABLE `zseq_document_type_fieldsets_link` DISABLE KEYS */;
1652   -INSERT INTO `zseq_document_type_fieldsets_link` VALUES (1);
  2098 +INSERT INTO `zseq_document_type_fieldsets_link` VALUES
  2099 +(1);
1653 2100 /*!40000 ALTER TABLE `zseq_document_type_fieldsets_link` ENABLE KEYS */;
1654 2101 UNLOCK TABLES;
1655 2102  
... ... @@ -1659,7 +2106,8 @@ UNLOCK TABLES;
1659 2106  
1660 2107 LOCK TABLES `zseq_document_types_lookup` WRITE;
1661 2108 /*!40000 ALTER TABLE `zseq_document_types_lookup` DISABLE KEYS */;
1662   -INSERT INTO `zseq_document_types_lookup` VALUES (1);
  2109 +INSERT INTO `zseq_document_types_lookup` VALUES
  2110 +(1);
1663 2111 /*!40000 ALTER TABLE `zseq_document_types_lookup` ENABLE KEYS */;
1664 2112 UNLOCK TABLES;
1665 2113  
... ... @@ -1669,7 +2117,8 @@ UNLOCK TABLES;
1669 2117  
1670 2118 LOCK TABLES `zseq_documents` WRITE;
1671 2119 /*!40000 ALTER TABLE `zseq_documents` DISABLE KEYS */;
1672   -INSERT INTO `zseq_documents` VALUES (1);
  2120 +INSERT INTO `zseq_documents` VALUES
  2121 +(1);
1673 2122 /*!40000 ALTER TABLE `zseq_documents` ENABLE KEYS */;
1674 2123 UNLOCK TABLES;
1675 2124  
... ... @@ -1679,7 +2128,8 @@ UNLOCK TABLES;
1679 2128  
1680 2129 LOCK TABLES `zseq_field_behaviours` WRITE;
1681 2130 /*!40000 ALTER TABLE `zseq_field_behaviours` DISABLE KEYS */;
1682   -INSERT INTO `zseq_field_behaviours` VALUES (1);
  2131 +INSERT INTO `zseq_field_behaviours` VALUES
  2132 +(1);
1683 2133 /*!40000 ALTER TABLE `zseq_field_behaviours` ENABLE KEYS */;
1684 2134 UNLOCK TABLES;
1685 2135  
... ... @@ -1689,7 +2139,8 @@ UNLOCK TABLES;
1689 2139  
1690 2140 LOCK TABLES `zseq_field_value_instances` WRITE;
1691 2141 /*!40000 ALTER TABLE `zseq_field_value_instances` DISABLE KEYS */;
1692   -INSERT INTO `zseq_field_value_instances` VALUES (1);
  2142 +INSERT INTO `zseq_field_value_instances` VALUES
  2143 +(1);
1693 2144 /*!40000 ALTER TABLE `zseq_field_value_instances` ENABLE KEYS */;
1694 2145 UNLOCK TABLES;
1695 2146  
... ... @@ -1699,7 +2150,8 @@ UNLOCK TABLES;
1699 2150  
1700 2151 LOCK TABLES `zseq_fieldsets` WRITE;
1701 2152 /*!40000 ALTER TABLE `zseq_fieldsets` DISABLE KEYS */;
1702   -INSERT INTO `zseq_fieldsets` VALUES (3);
  2153 +INSERT INTO `zseq_fieldsets` VALUES
  2154 +(3);
1703 2155 /*!40000 ALTER TABLE `zseq_fieldsets` ENABLE KEYS */;
1704 2156 UNLOCK TABLES;
1705 2157  
... ... @@ -1709,7 +2161,8 @@ UNLOCK TABLES;
1709 2161  
1710 2162 LOCK TABLES `zseq_folder_doctypes_link` WRITE;
1711 2163 /*!40000 ALTER TABLE `zseq_folder_doctypes_link` DISABLE KEYS */;
1712   -INSERT INTO `zseq_folder_doctypes_link` VALUES (2);
  2164 +INSERT INTO `zseq_folder_doctypes_link` VALUES
  2165 +(2);
1713 2166 /*!40000 ALTER TABLE `zseq_folder_doctypes_link` ENABLE KEYS */;
1714 2167 UNLOCK TABLES;
1715 2168  
... ... @@ -1719,7 +2172,8 @@ UNLOCK TABLES;
1719 2172  
1720 2173 LOCK TABLES `zseq_folder_subscriptions` WRITE;
1721 2174 /*!40000 ALTER TABLE `zseq_folder_subscriptions` DISABLE KEYS */;
1722   -INSERT INTO `zseq_folder_subscriptions` VALUES (1);
  2175 +INSERT INTO `zseq_folder_subscriptions` VALUES
  2176 +(1);
1723 2177 /*!40000 ALTER TABLE `zseq_folder_subscriptions` ENABLE KEYS */;
1724 2178 UNLOCK TABLES;
1725 2179  
... ... @@ -1738,7 +2192,8 @@ UNLOCK TABLES;
1738 2192  
1739 2193 LOCK TABLES `zseq_folders` WRITE;
1740 2194 /*!40000 ALTER TABLE `zseq_folders` DISABLE KEYS */;
1741   -INSERT INTO `zseq_folders` VALUES (2);
  2195 +INSERT INTO `zseq_folders` VALUES
  2196 +(2);
1742 2197 /*!40000 ALTER TABLE `zseq_folders` ENABLE KEYS */;
1743 2198 UNLOCK TABLES;
1744 2199  
... ... @@ -1748,7 +2203,8 @@ UNLOCK TABLES;
1748 2203  
1749 2204 LOCK TABLES `zseq_folders_users_roles_link` WRITE;
1750 2205 /*!40000 ALTER TABLE `zseq_folders_users_roles_link` DISABLE KEYS */;
1751   -INSERT INTO `zseq_folders_users_roles_link` VALUES (1);
  2206 +INSERT INTO `zseq_folders_users_roles_link` VALUES
  2207 +(1);
1752 2208 /*!40000 ALTER TABLE `zseq_folders_users_roles_link` ENABLE KEYS */;
1753 2209 UNLOCK TABLES;
1754 2210  
... ... @@ -1758,7 +2214,8 @@ UNLOCK TABLES;
1758 2214  
1759 2215 LOCK TABLES `zseq_groups_groups_link` WRITE;
1760 2216 /*!40000 ALTER TABLE `zseq_groups_groups_link` DISABLE KEYS */;
1761   -INSERT INTO `zseq_groups_groups_link` VALUES (1);
  2217 +INSERT INTO `zseq_groups_groups_link` VALUES
  2218 +(1);
1762 2219 /*!40000 ALTER TABLE `zseq_groups_groups_link` ENABLE KEYS */;
1763 2220 UNLOCK TABLES;
1764 2221  
... ... @@ -1768,7 +2225,8 @@ UNLOCK TABLES;
1768 2225  
1769 2226 LOCK TABLES `zseq_groups_lookup` WRITE;
1770 2227 /*!40000 ALTER TABLE `zseq_groups_lookup` DISABLE KEYS */;
1771   -INSERT INTO `zseq_groups_lookup` VALUES (3);
  2228 +INSERT INTO `zseq_groups_lookup` VALUES
  2229 +(3);
1772 2230 /*!40000 ALTER TABLE `zseq_groups_lookup` ENABLE KEYS */;
1773 2231 UNLOCK TABLES;
1774 2232  
... ... @@ -1778,7 +2236,8 @@ UNLOCK TABLES;
1778 2236  
1779 2237 LOCK TABLES `zseq_help` WRITE;
1780 2238 /*!40000 ALTER TABLE `zseq_help` DISABLE KEYS */;
1781   -INSERT INTO `zseq_help` VALUES (100);
  2239 +INSERT INTO `zseq_help` VALUES
  2240 +(100);
1782 2241 /*!40000 ALTER TABLE `zseq_help` ENABLE KEYS */;
1783 2242 UNLOCK TABLES;
1784 2243  
... ... @@ -1788,7 +2247,8 @@ UNLOCK TABLES;
1788 2247  
1789 2248 LOCK TABLES `zseq_help_replacement` WRITE;
1790 2249 /*!40000 ALTER TABLE `zseq_help_replacement` DISABLE KEYS */;
1791   -INSERT INTO `zseq_help_replacement` VALUES (1);
  2250 +INSERT INTO `zseq_help_replacement` VALUES
  2251 +(1);
1792 2252 /*!40000 ALTER TABLE `zseq_help_replacement` ENABLE KEYS */;
1793 2253 UNLOCK TABLES;
1794 2254  
... ... @@ -1807,7 +2267,8 @@ UNLOCK TABLES;
1807 2267  
1808 2268 LOCK TABLES `zseq_links` WRITE;
1809 2269 /*!40000 ALTER TABLE `zseq_links` DISABLE KEYS */;
1810   -INSERT INTO `zseq_links` VALUES (1);
  2270 +INSERT INTO `zseq_links` VALUES
  2271 +(1);
1811 2272 /*!40000 ALTER TABLE `zseq_links` ENABLE KEYS */;
1812 2273 UNLOCK TABLES;
1813 2274  
... ... @@ -1817,7 +2278,8 @@ UNLOCK TABLES;
1817 2278  
1818 2279 LOCK TABLES `zseq_metadata_lookup` WRITE;
1819 2280 /*!40000 ALTER TABLE `zseq_metadata_lookup` DISABLE KEYS */;
1820   -INSERT INTO `zseq_metadata_lookup` VALUES (11);
  2281 +INSERT INTO `zseq_metadata_lookup` VALUES
  2282 +(11);
1821 2283 /*!40000 ALTER TABLE `zseq_metadata_lookup` ENABLE KEYS */;
1822 2284 UNLOCK TABLES;
1823 2285  
... ... @@ -1827,7 +2289,8 @@ UNLOCK TABLES;
1827 2289  
1828 2290 LOCK TABLES `zseq_metadata_lookup_tree` WRITE;
1829 2291 /*!40000 ALTER TABLE `zseq_metadata_lookup_tree` DISABLE KEYS */;
1830   -INSERT INTO `zseq_metadata_lookup_tree` VALUES (1);
  2292 +INSERT INTO `zseq_metadata_lookup_tree` VALUES
  2293 +(1);
1831 2294 /*!40000 ALTER TABLE `zseq_metadata_lookup_tree` ENABLE KEYS */;
1832 2295 UNLOCK TABLES;
1833 2296  
... ... @@ -1846,7 +2309,8 @@ UNLOCK TABLES;
1846 2309  
1847 2310 LOCK TABLES `zseq_mime_extractors` WRITE;
1848 2311 /*!40000 ALTER TABLE `zseq_mime_extractors` DISABLE KEYS */;
1849   -INSERT INTO `zseq_mime_extractors` VALUES (1);
  2312 +INSERT INTO `zseq_mime_extractors` VALUES
  2313 +(1);
1850 2314 /*!40000 ALTER TABLE `zseq_mime_extractors` ENABLE KEYS */;
1851 2315 UNLOCK TABLES;
1852 2316  
... ... @@ -1856,7 +2320,8 @@ UNLOCK TABLES;
1856 2320  
1857 2321 LOCK TABLES `zseq_mime_types` WRITE;
1858 2322 /*!40000 ALTER TABLE `zseq_mime_types` DISABLE KEYS */;
1859   -INSERT INTO `zseq_mime_types` VALUES (171);
  2323 +INSERT INTO `zseq_mime_types` VALUES
  2324 +(171);
1860 2325 /*!40000 ALTER TABLE `zseq_mime_types` ENABLE KEYS */;
1861 2326 UNLOCK TABLES;
1862 2327  
... ... @@ -1866,7 +2331,8 @@ UNLOCK TABLES;
1866 2331  
1867 2332 LOCK TABLES `zseq_news` WRITE;
1868 2333 /*!40000 ALTER TABLE `zseq_news` DISABLE KEYS */;
1869   -INSERT INTO `zseq_news` VALUES (1);
  2334 +INSERT INTO `zseq_news` VALUES
  2335 +(1);
1870 2336 /*!40000 ALTER TABLE `zseq_news` ENABLE KEYS */;
1871 2337 UNLOCK TABLES;
1872 2338  
... ... @@ -1876,7 +2342,8 @@ UNLOCK TABLES;
1876 2342  
1877 2343 LOCK TABLES `zseq_notifications` WRITE;
1878 2344 /*!40000 ALTER TABLE `zseq_notifications` DISABLE KEYS */;
1879   -INSERT INTO `zseq_notifications` VALUES (1);
  2345 +INSERT INTO `zseq_notifications` VALUES
  2346 +(1);
1880 2347 /*!40000 ALTER TABLE `zseq_notifications` ENABLE KEYS */;
1881 2348 UNLOCK TABLES;
1882 2349  
... ... @@ -1886,7 +2353,8 @@ UNLOCK TABLES;
1886 2353  
1887 2354 LOCK TABLES `zseq_organisations_lookup` WRITE;
1888 2355 /*!40000 ALTER TABLE `zseq_organisations_lookup` DISABLE KEYS */;
1889   -INSERT INTO `zseq_organisations_lookup` VALUES (1);
  2356 +INSERT INTO `zseq_organisations_lookup` VALUES
  2357 +(1);
1890 2358 /*!40000 ALTER TABLE `zseq_organisations_lookup` ENABLE KEYS */;
1891 2359 UNLOCK TABLES;
1892 2360  
... ... @@ -1896,7 +2364,8 @@ UNLOCK TABLES;
1896 2364  
1897 2365 LOCK TABLES `zseq_permission_assignments` WRITE;
1898 2366 /*!40000 ALTER TABLE `zseq_permission_assignments` DISABLE KEYS */;
1899   -INSERT INTO `zseq_permission_assignments` VALUES (8);
  2367 +INSERT INTO `zseq_permission_assignments` VALUES
  2368 +(8);
1900 2369 /*!40000 ALTER TABLE `zseq_permission_assignments` ENABLE KEYS */;
1901 2370 UNLOCK TABLES;
1902 2371  
... ... @@ -1906,7 +2375,8 @@ UNLOCK TABLES;
1906 2375  
1907 2376 LOCK TABLES `zseq_permission_descriptors` WRITE;
1908 2377 /*!40000 ALTER TABLE `zseq_permission_descriptors` DISABLE KEYS */;
1909   -INSERT INTO `zseq_permission_descriptors` VALUES (2);
  2378 +INSERT INTO `zseq_permission_descriptors` VALUES
  2379 +(2);
1910 2380 /*!40000 ALTER TABLE `zseq_permission_descriptors` ENABLE KEYS */;
1911 2381 UNLOCK TABLES;
1912 2382  
... ... @@ -1916,7 +2386,8 @@ UNLOCK TABLES;
1916 2386  
1917 2387 LOCK TABLES `zseq_permission_dynamic_conditions` WRITE;
1918 2388 /*!40000 ALTER TABLE `zseq_permission_dynamic_conditions` DISABLE KEYS */;
1919   -INSERT INTO `zseq_permission_dynamic_conditions` VALUES (1);
  2389 +INSERT INTO `zseq_permission_dynamic_conditions` VALUES
  2390 +(1);
1920 2391 /*!40000 ALTER TABLE `zseq_permission_dynamic_conditions` ENABLE KEYS */;
1921 2392 UNLOCK TABLES;
1922 2393  
... ... @@ -1926,7 +2397,8 @@ UNLOCK TABLES;
1926 2397  
1927 2398 LOCK TABLES `zseq_permission_lookup_assignments` WRITE;
1928 2399 /*!40000 ALTER TABLE `zseq_permission_lookup_assignments` DISABLE KEYS */;
1929   -INSERT INTO `zseq_permission_lookup_assignments` VALUES (24);
  2400 +INSERT INTO `zseq_permission_lookup_assignments` VALUES
  2401 +(24);
1930 2402 /*!40000 ALTER TABLE `zseq_permission_lookup_assignments` ENABLE KEYS */;
1931 2403 UNLOCK TABLES;
1932 2404  
... ... @@ -1936,7 +2408,8 @@ UNLOCK TABLES;
1936 2408  
1937 2409 LOCK TABLES `zseq_permission_lookups` WRITE;
1938 2410 /*!40000 ALTER TABLE `zseq_permission_lookups` DISABLE KEYS */;
1939   -INSERT INTO `zseq_permission_lookups` VALUES (5);
  2411 +INSERT INTO `zseq_permission_lookups` VALUES
  2412 +(5);
1940 2413 /*!40000 ALTER TABLE `zseq_permission_lookups` ENABLE KEYS */;
1941 2414 UNLOCK TABLES;
1942 2415  
... ... @@ -1946,7 +2419,8 @@ UNLOCK TABLES;
1946 2419  
1947 2420 LOCK TABLES `zseq_permission_objects` WRITE;
1948 2421 /*!40000 ALTER TABLE `zseq_permission_objects` DISABLE KEYS */;
1949   -INSERT INTO `zseq_permission_objects` VALUES (1);
  2422 +INSERT INTO `zseq_permission_objects` VALUES
  2423 +(1);
1950 2424 /*!40000 ALTER TABLE `zseq_permission_objects` ENABLE KEYS */;
1951 2425 UNLOCK TABLES;
1952 2426  
... ... @@ -1956,17 +2430,28 @@ UNLOCK TABLES;
1956 2430  
1957 2431 LOCK TABLES `zseq_permissions` WRITE;
1958 2432 /*!40000 ALTER TABLE `zseq_permissions` DISABLE KEYS */;
1959   -INSERT INTO `zseq_permissions` VALUES (8);
  2433 +INSERT INTO `zseq_permissions` VALUES
  2434 +(8);
1960 2435 /*!40000 ALTER TABLE `zseq_permissions` ENABLE KEYS */;
1961 2436 UNLOCK TABLES;
1962 2437  
1963 2438 --
  2439 +-- Dumping data for table `zseq_plugin_helper`
  2440 +--
  2441 +
  2442 +LOCK TABLES `zseq_plugin_helper` WRITE;
  2443 +/*!40000 ALTER TABLE `zseq_plugin_helper` DISABLE KEYS */;
  2444 +/*!40000 ALTER TABLE `zseq_plugin_helper` ENABLE KEYS */;
  2445 +UNLOCK TABLES;
  2446 +
  2447 +--
1964 2448 -- Dumping data for table `zseq_plugin_rss`
1965 2449 --
1966 2450  
1967 2451 LOCK TABLES `zseq_plugin_rss` WRITE;
1968 2452 /*!40000 ALTER TABLE `zseq_plugin_rss` DISABLE KEYS */;
1969   -INSERT INTO `zseq_plugin_rss` VALUES (1);
  2453 +INSERT INTO `zseq_plugin_rss` VALUES
  2454 +(1);
1970 2455 /*!40000 ALTER TABLE `zseq_plugin_rss` ENABLE KEYS */;
1971 2456 UNLOCK TABLES;
1972 2457  
... ... @@ -1976,7 +2461,8 @@ UNLOCK TABLES;
1976 2461  
1977 2462 LOCK TABLES `zseq_plugins` WRITE;
1978 2463 /*!40000 ALTER TABLE `zseq_plugins` DISABLE KEYS */;
1979   -INSERT INTO `zseq_plugins` VALUES (21);
  2464 +INSERT INTO `zseq_plugins` VALUES
  2465 +(21);
1980 2466 /*!40000 ALTER TABLE `zseq_plugins` ENABLE KEYS */;
1981 2467 UNLOCK TABLES;
1982 2468  
... ... @@ -1986,7 +2472,8 @@ UNLOCK TABLES;
1986 2472  
1987 2473 LOCK TABLES `zseq_role_allocations` WRITE;
1988 2474 /*!40000 ALTER TABLE `zseq_role_allocations` DISABLE KEYS */;
1989   -INSERT INTO `zseq_role_allocations` VALUES (1);
  2475 +INSERT INTO `zseq_role_allocations` VALUES
  2476 +(1);
1990 2477 /*!40000 ALTER TABLE `zseq_role_allocations` ENABLE KEYS */;
1991 2478 UNLOCK TABLES;
1992 2479  
... ... @@ -1996,7 +2483,8 @@ UNLOCK TABLES;
1996 2483  
1997 2484 LOCK TABLES `zseq_roles` WRITE;
1998 2485 /*!40000 ALTER TABLE `zseq_roles` DISABLE KEYS */;
1999   -INSERT INTO `zseq_roles` VALUES (4);
  2486 +INSERT INTO `zseq_roles` VALUES
  2487 +(4);
2000 2488 /*!40000 ALTER TABLE `zseq_roles` ENABLE KEYS */;
2001 2489 UNLOCK TABLES;
2002 2490  
... ... @@ -2006,7 +2494,8 @@ UNLOCK TABLES;
2006 2494  
2007 2495 LOCK TABLES `zseq_saved_searches` WRITE;
2008 2496 /*!40000 ALTER TABLE `zseq_saved_searches` DISABLE KEYS */;
2009   -INSERT INTO `zseq_saved_searches` VALUES (1);
  2497 +INSERT INTO `zseq_saved_searches` VALUES
  2498 +(1);
2010 2499 /*!40000 ALTER TABLE `zseq_saved_searches` ENABLE KEYS */;
2011 2500 UNLOCK TABLES;
2012 2501  
... ... @@ -2016,7 +2505,8 @@ UNLOCK TABLES;
2016 2505  
2017 2506 LOCK TABLES `zseq_scheduler_tasks` WRITE;
2018 2507 /*!40000 ALTER TABLE `zseq_scheduler_tasks` DISABLE KEYS */;
2019   -INSERT INTO `zseq_scheduler_tasks` VALUES (11);
  2508 +INSERT INTO `zseq_scheduler_tasks` VALUES
  2509 +(11);
2020 2510 /*!40000 ALTER TABLE `zseq_scheduler_tasks` ENABLE KEYS */;
2021 2511 UNLOCK TABLES;
2022 2512  
... ... @@ -2035,7 +2525,8 @@ UNLOCK TABLES;
2035 2525  
2036 2526 LOCK TABLES `zseq_status_lookup` WRITE;
2037 2527 /*!40000 ALTER TABLE `zseq_status_lookup` DISABLE KEYS */;
2038   -INSERT INTO `zseq_status_lookup` VALUES (6);
  2528 +INSERT INTO `zseq_status_lookup` VALUES
  2529 +(6);
2039 2530 /*!40000 ALTER TABLE `zseq_status_lookup` ENABLE KEYS */;
2040 2531 UNLOCK TABLES;
2041 2532  
... ... @@ -2045,7 +2536,8 @@ UNLOCK TABLES;
2045 2536  
2046 2537 LOCK TABLES `zseq_system_settings` WRITE;
2047 2538 /*!40000 ALTER TABLE `zseq_system_settings` DISABLE KEYS */;
2048   -INSERT INTO `zseq_system_settings` VALUES (3);
  2539 +INSERT INTO `zseq_system_settings` VALUES
  2540 +(3);
2049 2541 /*!40000 ALTER TABLE `zseq_system_settings` ENABLE KEYS */;
2050 2542 UNLOCK TABLES;
2051 2543  
... ... @@ -2055,7 +2547,8 @@ UNLOCK TABLES;
2055 2547  
2056 2548 LOCK TABLES `zseq_tag_words` WRITE;
2057 2549 /*!40000 ALTER TABLE `zseq_tag_words` DISABLE KEYS */;
2058   -INSERT INTO `zseq_tag_words` VALUES (1);
  2550 +INSERT INTO `zseq_tag_words` VALUES
  2551 +(1);
2059 2552 /*!40000 ALTER TABLE `zseq_tag_words` ENABLE KEYS */;
2060 2553 UNLOCK TABLES;
2061 2554  
... ... @@ -2065,7 +2558,8 @@ UNLOCK TABLES;
2065 2558  
2066 2559 LOCK TABLES `zseq_time_period` WRITE;
2067 2560 /*!40000 ALTER TABLE `zseq_time_period` DISABLE KEYS */;
2068   -INSERT INTO `zseq_time_period` VALUES (1);
  2561 +INSERT INTO `zseq_time_period` VALUES
  2562 +(1);
2069 2563 /*!40000 ALTER TABLE `zseq_time_period` ENABLE KEYS */;
2070 2564 UNLOCK TABLES;
2071 2565  
... ... @@ -2075,7 +2569,8 @@ UNLOCK TABLES;
2075 2569  
2076 2570 LOCK TABLES `zseq_time_unit_lookup` WRITE;
2077 2571 /*!40000 ALTER TABLE `zseq_time_unit_lookup` DISABLE KEYS */;
2078   -INSERT INTO `zseq_time_unit_lookup` VALUES (3);
  2572 +INSERT INTO `zseq_time_unit_lookup` VALUES
  2573 +(3);
2079 2574 /*!40000 ALTER TABLE `zseq_time_unit_lookup` ENABLE KEYS */;
2080 2575 UNLOCK TABLES;
2081 2576  
... ... @@ -2085,7 +2580,8 @@ UNLOCK TABLES;
2085 2580  
2086 2581 LOCK TABLES `zseq_units_lookup` WRITE;
2087 2582 /*!40000 ALTER TABLE `zseq_units_lookup` DISABLE KEYS */;
2088   -INSERT INTO `zseq_units_lookup` VALUES (1);
  2583 +INSERT INTO `zseq_units_lookup` VALUES
  2584 +(1);
2089 2585 /*!40000 ALTER TABLE `zseq_units_lookup` ENABLE KEYS */;
2090 2586 UNLOCK TABLES;
2091 2587  
... ... @@ -2095,7 +2591,8 @@ UNLOCK TABLES;
2095 2591  
2096 2592 LOCK TABLES `zseq_units_organisations_link` WRITE;
2097 2593 /*!40000 ALTER TABLE `zseq_units_organisations_link` DISABLE KEYS */;
2098   -INSERT INTO `zseq_units_organisations_link` VALUES (1);
  2594 +INSERT INTO `zseq_units_organisations_link` VALUES
  2595 +(1);
2099 2596 /*!40000 ALTER TABLE `zseq_units_organisations_link` ENABLE KEYS */;
2100 2597 UNLOCK TABLES;
2101 2598  
... ... @@ -2105,7 +2602,8 @@ UNLOCK TABLES;
2105 2602  
2106 2603 LOCK TABLES `zseq_upgrades` WRITE;
2107 2604 /*!40000 ALTER TABLE `zseq_upgrades` DISABLE KEYS */;
2108   -INSERT INTO `zseq_upgrades` VALUES (184);
  2605 +INSERT INTO `zseq_upgrades` VALUES
  2606 +(184);
2109 2607 /*!40000 ALTER TABLE `zseq_upgrades` ENABLE KEYS */;
2110 2608 UNLOCK TABLES;
2111 2609  
... ... @@ -2124,7 +2622,8 @@ UNLOCK TABLES;
2124 2622  
2125 2623 LOCK TABLES `zseq_users` WRITE;
2126 2624 /*!40000 ALTER TABLE `zseq_users` DISABLE KEYS */;
2127   -INSERT INTO `zseq_users` VALUES (3);
  2625 +INSERT INTO `zseq_users` VALUES
  2626 +(3);
2128 2627 /*!40000 ALTER TABLE `zseq_users` ENABLE KEYS */;
2129 2628 UNLOCK TABLES;
2130 2629  
... ... @@ -2134,7 +2633,8 @@ UNLOCK TABLES;
2134 2633  
2135 2634 LOCK TABLES `zseq_users_groups_link` WRITE;
2136 2635 /*!40000 ALTER TABLE `zseq_users_groups_link` DISABLE KEYS */;
2137   -INSERT INTO `zseq_users_groups_link` VALUES (3);
  2636 +INSERT INTO `zseq_users_groups_link` VALUES
  2637 +(3);
2138 2638 /*!40000 ALTER TABLE `zseq_users_groups_link` ENABLE KEYS */;
2139 2639 UNLOCK TABLES;
2140 2640  
... ... @@ -2162,7 +2662,8 @@ UNLOCK TABLES;
2162 2662  
2163 2663 LOCK TABLES `zseq_workflow_states` WRITE;
2164 2664 /*!40000 ALTER TABLE `zseq_workflow_states` DISABLE KEYS */;
2165   -INSERT INTO `zseq_workflow_states` VALUES (7);
  2665 +INSERT INTO `zseq_workflow_states` VALUES
  2666 +(7);
2166 2667 /*!40000 ALTER TABLE `zseq_workflow_states` ENABLE KEYS */;
2167 2668 UNLOCK TABLES;
2168 2669  
... ... @@ -2172,7 +2673,8 @@ UNLOCK TABLES;
2172 2673  
2173 2674 LOCK TABLES `zseq_workflow_transitions` WRITE;
2174 2675 /*!40000 ALTER TABLE `zseq_workflow_transitions` DISABLE KEYS */;
2175   -INSERT INTO `zseq_workflow_transitions` VALUES (6);
  2676 +INSERT INTO `zseq_workflow_transitions` VALUES
  2677 +(6);
2176 2678 /*!40000 ALTER TABLE `zseq_workflow_transitions` ENABLE KEYS */;
2177 2679 UNLOCK TABLES;
2178 2680  
... ... @@ -2191,7 +2693,8 @@ UNLOCK TABLES;
2191 2693  
2192 2694 LOCK TABLES `zseq_workflows` WRITE;
2193 2695 /*!40000 ALTER TABLE `zseq_workflows` DISABLE KEYS */;
2194   -INSERT INTO `zseq_workflows` VALUES (3);
  2696 +INSERT INTO `zseq_workflows` VALUES
  2697 +(3);
2195 2698 /*!40000 ALTER TABLE `zseq_workflows` ENABLE KEYS */;
2196 2699 UNLOCK TABLES;
2197 2700 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
... ... @@ -2204,4 +2707,4 @@ UNLOCK TABLES;
2204 2707 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
2205 2708 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2206 2709  
2207   --- Dump completed on 2007-10-23 13:43:26
  2710 +-- Dump completed on 2008-06-26 13:51:02
... ...
sql/mysql/install/dump.sh
... ... @@ -14,5 +14,13 @@ DATE=`date +%Y-%m-%d-%H-%M-%S`
14 14 # Create the Structure Dump
15 15 mysqldump -u root -p $DB --no-data --skip-add-drop-table > structure-$DATE.sql
16 16  
  17 +cat structure-$DATE.sql | sed 's/ AUTO_INCREMENT=[0-9]*//g' > structure.tmp
  18 +mv structure.tmp structure-$DATE.sql
  19 +
17 20 # Create the Data Dump
18 21 mysqldump -u root -p $DB --no-create-info > data-$DATE.sql
  22 +
  23 +
  24 +sed "s/[)],[(]/),\n(/g" data-$DATE.sql > data.tmp
  25 +sed "s/VALUES [(]/VALUES\n(/g" data.tmp > data-$DATE.sql
  26 +rm data.tmp
... ...
sql/mysql/install/structure.sql
... ... @@ -55,7 +55,7 @@
55 55 --
56 56  
57 57 CREATE TABLE `active_sessions` (
58   - `id` int(11) NOT NULL default '0',
  58 + `id` int(11) NOT NULL auto_increment,
59 59 `user_id` int(11) default NULL,
60 60 `session_id` char(255) default NULL,
61 61 `lastused` datetime default NULL,
... ... @@ -71,7 +71,7 @@ CREATE TABLE `active_sessions` (
71 71 --
72 72  
73 73 CREATE TABLE `archive_restoration_request` (
74   - `id` int(11) NOT NULL default '0',
  74 + `id` int(11) NOT NULL auto_increment,
75 75 `document_id` int(11) NOT NULL default '0',
76 76 `request_user_id` int(11) NOT NULL default '0',
77 77 `admin_user_id` int(11) NOT NULL default '0',
... ... @@ -90,7 +90,7 @@ CREATE TABLE `archive_restoration_request` (
90 90 --
91 91  
92 92 CREATE TABLE `archiving_settings` (
93   - `id` int(11) NOT NULL default '0',
  93 + `id` int(11) NOT NULL auto_increment,
94 94 `archiving_type_id` int(11) NOT NULL default '0',
95 95 `expiration_date` date default NULL,
96 96 `document_transaction_id` int(11) default NULL,
... ... @@ -107,7 +107,7 @@ CREATE TABLE `archiving_settings` (
107 107 --
108 108  
109 109 CREATE TABLE `archiving_type_lookup` (
110   - `id` int(11) NOT NULL default '0',
  110 + `id` int(11) NOT NULL auto_increment,
111 111 `name` char(100) default NULL,
112 112 PRIMARY KEY (`id`)
113 113 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -117,7 +117,7 @@ CREATE TABLE `archiving_type_lookup` (
117 117 --
118 118  
119 119 CREATE TABLE `authentication_sources` (
120   - `id` int(11) NOT NULL default '0',
  120 + `id` int(11) NOT NULL auto_increment,
121 121 `name` varchar(50) NOT NULL default '',
122 122 `namespace` varchar(255) NOT NULL default '',
123 123 `authentication_provider` varchar(255) NOT NULL default '',
... ... @@ -133,7 +133,7 @@ CREATE TABLE `authentication_sources` (
133 133 --
134 134  
135 135 CREATE TABLE `column_entries` (
136   - `id` int(11) NOT NULL default '0',
  136 + `id` int(11) NOT NULL auto_increment,
137 137 `column_namespace` varchar(255) NOT NULL default '',
138 138 `view_namespace` varchar(255) NOT NULL default '',
139 139 `config_array` text NOT NULL,
... ... @@ -161,7 +161,7 @@ CREATE TABLE `comment_searchable_text` (
161 161 --
162 162  
163 163 CREATE TABLE `config_settings` (
164   - `id` int(255) unsigned NOT NULL,
  164 + `id` int(11) NOT NULL auto_increment,
165 165 `group_name` varchar(255) NOT NULL default '0',
166 166 `item` varchar(255) NOT NULL default '0',
167 167 `type` varchar(255) NOT NULL default '0',
... ... @@ -177,7 +177,7 @@ CREATE TABLE `config_settings` (
177 177 --
178 178  
179 179 CREATE TABLE `dashlet_disables` (
180   - `id` int(11) NOT NULL default '0',
  180 + `id` int(11) NOT NULL auto_increment,
181 181 `user_id` int(11) NOT NULL default '0',
182 182 `dashlet_namespace` varchar(255) NOT NULL default '',
183 183 PRIMARY KEY (`id`),
... ... @@ -191,7 +191,7 @@ CREATE TABLE `dashlet_disables` (
191 191 --
192 192  
193 193 CREATE TABLE `data_types` (
194   - `id` int(11) NOT NULL default '0',
  194 + `id` int(11) NOT NULL auto_increment,
195 195 `name` char(255) NOT NULL default '',
196 196 PRIMARY KEY (`id`)
197 197 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -201,7 +201,7 @@ CREATE TABLE `data_types` (
201 201 --
202 202  
203 203 CREATE TABLE `discussion_comments` (
204   - `id` int(11) NOT NULL default '0',
  204 + `id` int(11) NOT NULL auto_increment,
205 205 `thread_id` int(11) NOT NULL default '0',
206 206 `in_reply_to` int(11) default NULL,
207 207 `user_id` int(11) NOT NULL default '0',
... ... @@ -222,10 +222,10 @@ CREATE TABLE `discussion_comments` (
222 222 --
223 223  
224 224 CREATE TABLE `discussion_threads` (
225   - `id` int(11) NOT NULL,
  225 + `id` int(11) NOT NULL auto_increment,
226 226 `document_id` int(11) NOT NULL,
227   - `first_comment_id` int(11) NULL,
228   - `last_comment_id` int(11) NULL,
  227 + `first_comment_id` int(11) default NULL,
  228 + `last_comment_id` int(11) default NULL,
229 229 `views` int(11) NOT NULL default '0',
230 230 `replies` int(11) NOT NULL default '0',
231 231 `creator_id` int(11) NOT NULL,
... ... @@ -248,7 +248,7 @@ CREATE TABLE `discussion_threads` (
248 248 --
249 249  
250 250 CREATE TABLE `document_archiving_link` (
251   - `id` int(11) NOT NULL default '0',
  251 + `id` int(11) NOT NULL auto_increment,
252 252 `document_id` int(11) NOT NULL default '0',
253 253 `archiving_settings_id` int(11) NOT NULL default '0',
254 254 PRIMARY KEY (`id`),
... ... @@ -263,7 +263,7 @@ CREATE TABLE `document_archiving_link` (
263 263 --
264 264  
265 265 CREATE TABLE `document_content_version` (
266   - `id` int(11) NOT NULL default '0',
  266 + `id` int(11) NOT NULL auto_increment,
267 267 `document_id` int(11) NOT NULL default '0',
268 268 `filename` mediumtext NOT NULL,
269 269 `size` bigint(20) NOT NULL default '0',
... ... @@ -287,7 +287,7 @@ CREATE TABLE `document_content_version` (
287 287 --
288 288  
289 289 CREATE TABLE `document_fields` (
290   - `id` int(11) NOT NULL default '0',
  290 + `id` int(11) NOT NULL auto_increment,
291 291 `name` varchar(255) NOT NULL default '',
292 292 `data_type` varchar(100) NOT NULL default '',
293 293 `is_generic` tinyint(1) default NULL,
... ... @@ -307,9 +307,9 @@ CREATE TABLE `document_fields` (
307 307 --
308 308  
309 309 CREATE TABLE `document_fields_link` (
310   - `id` int(11) NOT NULL default '0',
  310 + `id` int(11) NOT NULL auto_increment,
311 311 `document_field_id` int(11) NOT NULL default '0',
312   - `value` mediumtext NOT NULL default '',
  312 + `value` mediumtext NOT NULL,
313 313 `metadata_version_id` int(11) default NULL,
314 314 PRIMARY KEY (`id`),
315 315 KEY `document_field_id` (`document_field_id`),
... ... @@ -323,7 +323,7 @@ CREATE TABLE `document_fields_link` (
323 323 --
324 324  
325 325 CREATE TABLE `document_incomplete` (
326   - `id` int(10) unsigned NOT NULL default '0',
  326 + `id` int(11) NOT NULL auto_increment,
327 327 `contents` tinyint(1) unsigned NOT NULL default '0',
328 328 `metadata` tinyint(1) unsigned NOT NULL default '0',
329 329 PRIMARY KEY (`id`)
... ... @@ -334,12 +334,12 @@ CREATE TABLE `document_incomplete` (
334 334 --
335 335  
336 336 CREATE TABLE `document_link` (
337   - `id` int(11) NOT NULL default '0',
  337 + `id` int(11) NOT NULL auto_increment,
338 338 `parent_document_id` int(11) NOT NULL default '0',
339 339 `child_document_id` int(11) NOT NULL default '0',
340 340 `link_type_id` int(11) NOT NULL default '0',
341   - `external_url` varchar(255),
342   - `external_name` varchar(50),
  341 + `external_url` varchar(255) default NULL,
  342 + `external_name` varchar(50) default NULL,
343 343 PRIMARY KEY (`id`),
344 344 KEY `parent_document_id` (`parent_document_id`),
345 345 KEY `child_document_id` (`child_document_id`),
... ... @@ -354,7 +354,7 @@ CREATE TABLE `document_link` (
354 354 --
355 355  
356 356 CREATE TABLE `document_link_types` (
357   - `id` int(11) NOT NULL default '0',
  357 + `id` int(11) NOT NULL auto_increment,
358 358 `name` char(100) NOT NULL default '',
359 359 `reverse_name` char(100) NOT NULL default '',
360 360 `description` char(255) NOT NULL default '',
... ... @@ -366,7 +366,7 @@ CREATE TABLE `document_link_types` (
366 366 --
367 367  
368 368 CREATE TABLE `document_metadata_version` (
369   - `id` int(11) NOT NULL default '0',
  369 + `id` int(11) NOT NULL auto_increment,
370 370 `document_id` int(11) NOT NULL default '0',
371 371 `content_version_id` int(11) NOT NULL default '0',
372 372 `document_type_id` int(11) NOT NULL default '0',
... ... @@ -401,7 +401,7 @@ CREATE TABLE `document_metadata_version` (
401 401 --
402 402  
403 403 CREATE TABLE `document_role_allocations` (
404   - `id` int(11) NOT NULL default '0',
  404 + `id` int(11) NOT NULL auto_increment,
405 405 `document_id` int(11) NOT NULL default '0',
406 406 `role_id` int(11) NOT NULL default '0',
407 407 `permission_descriptor_id` int(11) NOT NULL default '0',
... ... @@ -429,7 +429,7 @@ CREATE TABLE `document_searchable_text` (
429 429 --
430 430  
431 431 CREATE TABLE `document_subscriptions` (
432   - `id` int(11) NOT NULL default '0',
  432 + `id` int(11) NOT NULL auto_increment,
433 433 `user_id` int(11) NOT NULL default '0',
434 434 `document_id` int(11) NOT NULL default '0',
435 435 `is_alerted` tinyint(1) default NULL,
... ... @@ -480,7 +480,7 @@ CREATE TABLE `document_transaction_text` (
480 480 --
481 481  
482 482 CREATE TABLE `document_transaction_types_lookup` (
483   - `id` int(11) NOT NULL default '0',
  483 + `id` int(11) NOT NULL auto_increment,
484 484 `name` varchar(100) NOT NULL default '',
485 485 `namespace` varchar(250) NOT NULL default '',
486 486 PRIMARY KEY (`id`),
... ... @@ -492,21 +492,21 @@ CREATE TABLE `document_transaction_types_lookup` (
492 492 --
493 493  
494 494 CREATE TABLE `document_transactions` (
495   - `id` int(11) NOT NULL default '0',
  495 + `id` int(11) NOT NULL auto_increment,
496 496 `document_id` int(11) default NULL,
497 497 `version` float default NULL,
498 498 `user_id` int(11) default NULL,
499 499 `datetime` datetime NOT NULL default '0000-00-00 00:00:00',
500 500 `ip` varchar(15) default NULL,
501   - `filename` mediumtext NOT NULL default '',
502   - `comment` mediumtext NOT NULL default '',
  501 + `filename` mediumtext NOT NULL,
  502 + `comment` mediumtext NOT NULL,
503 503 `transaction_namespace` varchar(255) NOT NULL default 'ktcore.transactions.event',
504 504 `session_id` int(11) default NULL,
505 505 `admin_mode` tinyint(1) NOT NULL default '0',
506 506 PRIMARY KEY (`id`),
507 507 KEY `session_id` (`session_id`),
508 508 KEY `document_id` (`document_id`),
509   - KEY (`datetime`,`transaction_namespace`)
  509 + KEY `datetime` (`datetime`,`transaction_namespace`)
510 510 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
511 511  
512 512 --
... ... @@ -514,7 +514,7 @@ CREATE TABLE `document_transactions` (
514 514 --
515 515  
516 516 CREATE TABLE `document_type_fields_link` (
517   - `id` int(11) NOT NULL default '0',
  517 + `id` int(11) NOT NULL auto_increment,
518 518 `document_type_id` int(11) NOT NULL default '0',
519 519 `field_id` int(11) NOT NULL default '0',
520 520 `is_mandatory` tinyint(1) NOT NULL default '0',
... ... @@ -530,7 +530,7 @@ CREATE TABLE `document_type_fields_link` (
530 530 --
531 531  
532 532 CREATE TABLE `document_type_fieldsets_link` (
533   - `id` int(11) NOT NULL default '0',
  533 + `id` int(11) NOT NULL auto_increment,
534 534 `document_type_id` int(11) NOT NULL default '0',
535 535 `fieldset_id` int(11) NOT NULL default '0',
536 536 PRIMARY KEY (`id`),
... ... @@ -545,7 +545,7 @@ CREATE TABLE `document_type_fieldsets_link` (
545 545 --
546 546  
547 547 CREATE TABLE `document_types_lookup` (
548   - `id` int(11) NOT NULL default '0',
  548 + `id` int(11) NOT NULL auto_increment,
549 549 `name` char(100) default NULL,
550 550 `disabled` tinyint(4) NOT NULL default '0',
551 551 PRIMARY KEY (`id`),
... ... @@ -557,7 +557,7 @@ CREATE TABLE `document_types_lookup` (
557 557 --
558 558  
559 559 CREATE TABLE `documents` (
560   - `id` int(11) NOT NULL default '0',
  560 + `id` int(11) NOT NULL auto_increment,
561 561 `creator_id` int(11) default NULL,
562 562 `modified` datetime NOT NULL default '0000-00-00 00:00:00',
563 563 `folder_id` int(11) default NULL,
... ... @@ -640,7 +640,7 @@ CREATE TABLE `field_behaviour_options` (
640 640 --
641 641  
642 642 CREATE TABLE `field_behaviours` (
643   - `id` int(11) NOT NULL default '0',
  643 + `id` int(11) NOT NULL auto_increment,
644 644 `name` char(255) NOT NULL default '',
645 645 `human_name` char(100) NOT NULL default '',
646 646 `field_id` int(11) NOT NULL default '0',
... ... @@ -671,7 +671,7 @@ CREATE TABLE `field_orders` (
671 671 --
672 672  
673 673 CREATE TABLE `field_value_instances` (
674   - `id` int(11) NOT NULL default '0',
  674 + `id` int(11) NOT NULL auto_increment,
675 675 `field_id` int(11) NOT NULL default '0',
676 676 `field_value_id` int(11) NOT NULL default '0',
677 677 `behaviour_id` int(11) default '0',
... ... @@ -689,7 +689,7 @@ CREATE TABLE `field_value_instances` (
689 689 --
690 690  
691 691 CREATE TABLE `fieldsets` (
692   - `id` int(11) NOT NULL default '0',
  692 + `id` int(11) NOT NULL auto_increment,
693 693 `name` varchar(255) NOT NULL default '',
694 694 `namespace` varchar(255) NOT NULL default '',
695 695 `mandatory` tinyint(4) NOT NULL default '0',
... ... @@ -727,7 +727,7 @@ CREATE TABLE `folder_descendants` (
727 727 --
728 728  
729 729 CREATE TABLE `folder_doctypes_link` (
730   - `id` int(11) NOT NULL default '0',
  730 + `id` int(11) NOT NULL auto_increment,
731 731 `folder_id` int(11) NOT NULL default '0',
732 732 `document_type_id` int(11) NOT NULL default '0',
733 733 PRIMARY KEY (`id`),
... ... @@ -753,7 +753,7 @@ CREATE TABLE `folder_searchable_text` (
753 753 --
754 754  
755 755 CREATE TABLE `folder_subscriptions` (
756   - `id` int(11) NOT NULL default '0',
  756 + `id` int(11) NOT NULL auto_increment,
757 757 `user_id` int(11) NOT NULL default '0',
758 758 `folder_id` int(11) NOT NULL default '0',
759 759 `is_alerted` tinyint(1) default NULL,
... ... @@ -769,7 +769,7 @@ CREATE TABLE `folder_subscriptions` (
769 769 --
770 770  
771 771 CREATE TABLE `folder_transactions` (
772   - `id` int(11) NOT NULL default '0',
  772 + `id` int(11) NOT NULL auto_increment,
773 773 `folder_id` int(11) default NULL,
774 774 `user_id` int(11) default NULL,
775 775 `datetime` datetime NOT NULL default '0000-00-00 00:00:00',
... ... @@ -801,7 +801,7 @@ CREATE TABLE `folder_workflow_map` (
801 801 --
802 802  
803 803 CREATE TABLE `folders` (
804   - `id` int(11) NOT NULL default '0',
  804 + `id` int(11) NOT NULL auto_increment,
805 805 `name` varchar(255) default NULL,
806 806 `description` varchar(255) default NULL,
807 807 `parent_id` int(11) default NULL,
... ... @@ -829,7 +829,7 @@ CREATE TABLE `folders` (
829 829 --
830 830  
831 831 CREATE TABLE `folders_users_roles_link` (
832   - `id` int(11) NOT NULL default '0',
  832 + `id` int(11) NOT NULL auto_increment,
833 833 `group_folder_approval_id` int(11) NOT NULL default '0',
834 834 `user_id` int(11) NOT NULL default '0',
835 835 `document_id` int(11) NOT NULL default '0',
... ... @@ -849,7 +849,7 @@ CREATE TABLE `folders_users_roles_link` (
849 849 --
850 850  
851 851 CREATE TABLE `groups_groups_link` (
852   - `id` int(11) NOT NULL default '0',
  852 + `id` int(11) NOT NULL auto_increment,
853 853 `parent_group_id` int(11) NOT NULL default '0',
854 854 `member_group_id` int(11) NOT NULL default '0',
855 855 PRIMARY KEY (`id`),
... ... @@ -864,7 +864,7 @@ CREATE TABLE `groups_groups_link` (
864 864 --
865 865  
866 866 CREATE TABLE `groups_lookup` (
867   - `id` int(11) NOT NULL default '0',
  867 + `id` int(11) NOT NULL auto_increment,
868 868 `name` varchar(100) NOT NULL default '',
869 869 `is_sys_admin` tinyint(1) NOT NULL default '0',
870 870 `is_unit_admin` tinyint(1) NOT NULL default '0',
... ... @@ -884,7 +884,7 @@ CREATE TABLE `groups_lookup` (
884 884 --
885 885  
886 886 CREATE TABLE `help` (
887   - `id` int(11) NOT NULL default '0',
  887 + `id` int(11) NOT NULL auto_increment,
888 888 `fSection` varchar(100) NOT NULL default '',
889 889 `help_info` mediumtext NOT NULL,
890 890 PRIMARY KEY (`id`)
... ... @@ -895,7 +895,7 @@ CREATE TABLE `help` (
895 895 --
896 896  
897 897 CREATE TABLE `help_replacement` (
898   - `id` int(11) NOT NULL default '0',
  898 + `id` int(11) NOT NULL auto_increment,
899 899 `name` varchar(255) NOT NULL default '',
900 900 `description` mediumtext NOT NULL,
901 901 `title` varchar(255) NOT NULL default '',
... ... @@ -912,7 +912,7 @@ CREATE TABLE `index_files` (
912 912 `indexdate` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
913 913 `processdate` datetime default NULL,
914 914 `what` char(1) default NULL,
915   - `status_msg` mediumtext NULL,
  915 + `status_msg` mediumtext,
916 916 PRIMARY KEY (`document_id`),
917 917 KEY `user_id` (`user_id`),
918 918 CONSTRAINT `index_files_ibfk_1` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
... ... @@ -924,7 +924,7 @@ CREATE TABLE `index_files` (
924 924 --
925 925  
926 926 CREATE TABLE `interceptor_instances` (
927   - `id` int(11) NOT NULL,
  927 + `id` int(11) NOT NULL auto_increment,
928 928 `name` varchar(255) NOT NULL,
929 929 `interceptor_namespace` varchar(255) NOT NULL,
930 930 `config` text,
... ... @@ -937,7 +937,7 @@ CREATE TABLE `interceptor_instances` (
937 937 --
938 938  
939 939 CREATE TABLE `links` (
940   - `id` int(11) NOT NULL default '0',
  940 + `id` int(11) NOT NULL auto_increment,
941 941 `name` char(100) NOT NULL default '',
942 942 `url` char(100) NOT NULL default '',
943 943 `rank` int(11) NOT NULL default '0',
... ... @@ -949,7 +949,7 @@ CREATE TABLE `links` (
949 949 --
950 950  
951 951 CREATE TABLE `metadata_lookup` (
952   - `id` int(11) NOT NULL default '0',
  952 + `id` int(11) NOT NULL auto_increment,
953 953 `document_field_id` int(11) NOT NULL default '0',
954 954 `name` char(255) default NULL,
955 955 `treeorg_parent` int(11) default NULL,
... ... @@ -966,7 +966,7 @@ CREATE TABLE `metadata_lookup` (
966 966 --
967 967  
968 968 CREATE TABLE `metadata_lookup_tree` (
969   - `id` int(11) NOT NULL default '0',
  969 + `id` int(11) NOT NULL auto_increment,
970 970 `document_field_id` int(11) NOT NULL default '0',
971 971 `name` char(255) default NULL,
972 972 `metadata_lookup_tree_parent` int(11) default NULL,
... ... @@ -994,7 +994,7 @@ CREATE TABLE `mime_document_mapping` (
994 994 --
995 995  
996 996 CREATE TABLE `mime_documents` (
997   - `id` int(11) NOT NULL,
  997 + `id` int(11) NOT NULL auto_increment,
998 998 `mime_doc` varchar(100) default NULL,
999 999 `icon_path` varchar(20) default NULL,
1000 1000 PRIMARY KEY (`id`)
... ... @@ -1005,7 +1005,7 @@ CREATE TABLE `mime_documents` (
1005 1005 --
1006 1006  
1007 1007 CREATE TABLE `mime_extractors` (
1008   - `id` mediumint(9) NOT NULL,
  1008 + `id` mediumint(9) NOT NULL auto_increment,
1009 1009 `name` varchar(50) NOT NULL,
1010 1010 `active` tinyint(4) NOT NULL default '0',
1011 1011 PRIMARY KEY (`id`)
... ... @@ -1016,7 +1016,7 @@ CREATE TABLE `mime_extractors` (
1016 1016 --
1017 1017  
1018 1018 CREATE TABLE `mime_types` (
1019   - `id` int(11) NOT NULL default '0',
  1019 + `id` int(11) NOT NULL auto_increment,
1020 1020 `filetypes` char(100) NOT NULL default '',
1021 1021 `mimetypes` char(100) NOT NULL default '',
1022 1022 `icon_path` char(255) default NULL,
... ... @@ -1037,7 +1037,7 @@ CREATE TABLE `mime_types` (
1037 1037 --
1038 1038  
1039 1039 CREATE TABLE `news` (
1040   - `id` int(11) NOT NULL default '0',
  1040 + `id` int(11) NOT NULL auto_increment,
1041 1041 `synopsis` varchar(255) NOT NULL default '',
1042 1042 `body` mediumtext,
1043 1043 `rank` int(11) default NULL,
... ... @@ -1055,7 +1055,7 @@ CREATE TABLE `news` (
1055 1055 --
1056 1056  
1057 1057 CREATE TABLE `notifications` (
1058   - `id` int(11) NOT NULL default '0',
  1058 + `id` int(11) NOT NULL auto_increment,
1059 1059 `user_id` int(11) NOT NULL default '0',
1060 1060 `label` varchar(255) NOT NULL default '',
1061 1061 `type` varchar(255) NOT NULL default '',
... ... @@ -1076,7 +1076,7 @@ CREATE TABLE `notifications` (
1076 1076 --
1077 1077  
1078 1078 CREATE TABLE `organisations_lookup` (
1079   - `id` int(11) NOT NULL default '0',
  1079 + `id` int(11) NOT NULL auto_increment,
1080 1080 `name` char(100) NOT NULL default '',
1081 1081 PRIMARY KEY (`id`),
1082 1082 UNIQUE KEY `name` (`name`)
... ... @@ -1087,7 +1087,7 @@ CREATE TABLE `organisations_lookup` (
1087 1087 --
1088 1088  
1089 1089 CREATE TABLE `permission_assignments` (
1090   - `id` int(11) NOT NULL default '0',
  1090 + `id` int(11) NOT NULL auto_increment,
1091 1091 `permission_id` int(11) NOT NULL default '0',
1092 1092 `permission_object_id` int(11) NOT NULL default '0',
1093 1093 `permission_descriptor_id` int(11) default NULL,
... ... @@ -1144,7 +1144,7 @@ CREATE TABLE `permission_descriptor_users` (
1144 1144 --
1145 1145  
1146 1146 CREATE TABLE `permission_descriptors` (
1147   - `id` int(11) NOT NULL default '0',
  1147 + `id` int(11) NOT NULL auto_increment,
1148 1148 `descriptor` varchar(32) NOT NULL default '',
1149 1149 `descriptor_text` mediumtext NOT NULL,
1150 1150 PRIMARY KEY (`id`),
... ... @@ -1169,7 +1169,7 @@ CREATE TABLE `permission_dynamic_assignments` (
1169 1169 --
1170 1170  
1171 1171 CREATE TABLE `permission_dynamic_conditions` (
1172   - `id` int(11) NOT NULL default '0',
  1172 + `id` int(11) NOT NULL auto_increment,
1173 1173 `permission_object_id` int(11) NOT NULL default '0',
1174 1174 `group_id` int(11) NOT NULL default '0',
1175 1175 `condition_id` int(11) NOT NULL default '0',
... ... @@ -1187,7 +1187,7 @@ CREATE TABLE `permission_dynamic_conditions` (
1187 1187 --
1188 1188  
1189 1189 CREATE TABLE `permission_lookup_assignments` (
1190   - `id` int(11) NOT NULL default '0',
  1190 + `id` int(11) NOT NULL auto_increment,
1191 1191 `permission_id` int(11) NOT NULL default '0',
1192 1192 `permission_lookup_id` int(11) NOT NULL default '0',
1193 1193 `permission_descriptor_id` int(11) default NULL,
... ... @@ -1205,7 +1205,7 @@ CREATE TABLE `permission_lookup_assignments` (
1205 1205 --
1206 1206  
1207 1207 CREATE TABLE `permission_lookups` (
1208   - `id` int(11) NOT NULL default '0',
  1208 + `id` int(11) NOT NULL auto_increment,
1209 1209 PRIMARY KEY (`id`)
1210 1210 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1211 1211  
... ... @@ -1214,7 +1214,7 @@ CREATE TABLE `permission_lookups` (
1214 1214 --
1215 1215  
1216 1216 CREATE TABLE `permission_objects` (
1217   - `id` int(11) NOT NULL default '0',
  1217 + `id` int(11) NOT NULL auto_increment,
1218 1218 PRIMARY KEY (`id`)
1219 1219 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1220 1220  
... ... @@ -1223,7 +1223,7 @@ CREATE TABLE `permission_objects` (
1223 1223 --
1224 1224  
1225 1225 CREATE TABLE `permissions` (
1226   - `id` int(11) NOT NULL default '0',
  1226 + `id` int(11) NOT NULL auto_increment,
1227 1227 `name` char(100) NOT NULL default '',
1228 1228 `human_name` char(100) NOT NULL default '',
1229 1229 `built_in` tinyint(4) NOT NULL default '0',
... ... @@ -1232,11 +1232,30 @@ CREATE TABLE `permissions` (
1232 1232 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1233 1233  
1234 1234 --
  1235 +-- Table structure for table `plugin_helper`
  1236 +--
  1237 +
  1238 +CREATE TABLE `plugin_helper` (
  1239 + `id` int(11) NOT NULL auto_increment,
  1240 + `namespace` varchar(120) NOT NULL,
  1241 + `plugin` varchar(120) NOT NULL,
  1242 + `classname` varchar(120) default NULL,
  1243 + `pathname` varchar(255) default NULL,
  1244 + `object` varchar(1000) NOT NULL,
  1245 + `classtype` varchar(120) NOT NULL,
  1246 + `viewtype` enum('general','dashboard','plugin','folder','document','admindispatcher','dispatcher') NOT NULL default 'general',
  1247 + PRIMARY KEY (`id`),
  1248 + KEY `name` (`namespace`),
  1249 + KEY `parent` (`plugin`),
  1250 + KEY `view` (`viewtype`)
  1251 +) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1252 +
  1253 +--
1235 1254 -- Table structure for table `plugin_rss`
1236 1255 --
1237 1256  
1238 1257 CREATE TABLE `plugin_rss` (
1239   - `id` int(11) NOT NULL,
  1258 + `id` int(11) NOT NULL auto_increment,
1240 1259 `user_id` int(11) NOT NULL,
1241 1260 `url` varchar(200) NOT NULL,
1242 1261 `title` varchar(100) NOT NULL,
... ... @@ -1250,7 +1269,7 @@ CREATE TABLE `plugin_rss` (
1250 1269 --
1251 1270  
1252 1271 CREATE TABLE `plugins` (
1253   - `id` int(11) NOT NULL default '0',
  1272 + `id` int(11) NOT NULL auto_increment,
1254 1273 `namespace` varchar(255) NOT NULL default '',
1255 1274 `path` varchar(255) NOT NULL default '',
1256 1275 `version` int(11) NOT NULL default '0',
... ... @@ -1265,32 +1284,11 @@ CREATE TABLE `plugins` (
1265 1284 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1266 1285  
1267 1286 --
1268   --- Table structure for table `plugin_helper`
1269   ---
1270   -
1271   -CREATE TABLE `plugin_helper` (
1272   - `id` INT NOT NULL default '0',
1273   - `namespace` VARCHAR(120) NOT NULL,
1274   - `plugin` VARCHAR(120) NOT NULL,
1275   - `classname` VARCHAR(120),
1276   - `pathname` VARCHAR(255),
1277   - `object` VARCHAR(1000) NOT NULL,
1278   - `classtype` VARCHAR(120) NOT NULL,
1279   - `viewtype` ENUM('general', 'dashboard', 'plugin', 'folder', 'document', 'admindispatcher', 'dispatcher') NOT NULL default 'general',
1280   - PRIMARY KEY (`id`),
1281   - KEY `name` (`namespace`),
1282   - KEY `parent` (`plugin`),
1283   - KEY `view` (`viewtype`)
1284   -) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1285   -
1286   --- --------------------------------------------------------
1287   -
1288   ---
1289 1287 -- Table structure for table `role_allocations`
1290 1288 --
1291 1289  
1292 1290 CREATE TABLE `role_allocations` (
1293   - `id` int(11) NOT NULL default '0',
  1291 + `id` int(11) NOT NULL auto_increment,
1294 1292 `folder_id` int(11) NOT NULL default '0',
1295 1293 `role_id` int(11) NOT NULL default '0',
1296 1294 `permission_descriptor_id` int(11) NOT NULL default '0',
... ... @@ -1308,7 +1306,7 @@ CREATE TABLE `role_allocations` (
1308 1306 --
1309 1307  
1310 1308 CREATE TABLE `roles` (
1311   - `id` int(11) NOT NULL default '0',
  1309 + `id` int(11) NOT NULL auto_increment,
1312 1310 `name` char(255) NOT NULL default '',
1313 1311 PRIMARY KEY (`id`),
1314 1312 UNIQUE KEY `name` (`name`)
... ... @@ -1319,7 +1317,7 @@ CREATE TABLE `roles` (
1319 1317 --
1320 1318  
1321 1319 CREATE TABLE `saved_searches` (
1322   - `id` int(11) NOT NULL default '0',
  1320 + `id` int(11) NOT NULL auto_increment,
1323 1321 `name` varchar(50) NOT NULL default '',
1324 1322 `namespace` varchar(250) NOT NULL default '',
1325 1323 `is_condition` tinyint(1) NOT NULL default '0',
... ... @@ -1337,7 +1335,7 @@ CREATE TABLE `saved_searches` (
1337 1335 --
1338 1336  
1339 1337 CREATE TABLE `scheduler_tasks` (
1340   - `id` int(11) NOT NULL default '0',
  1338 + `id` int(11) NOT NULL auto_increment,
1341 1339 `task` varchar(50) NOT NULL,
1342 1340 `script_url` varchar(255) NOT NULL,
1343 1341 `script_params` varchar(255) default NULL,
... ... @@ -1346,7 +1344,7 @@ CREATE TABLE `scheduler_tasks` (
1346 1344 `run_time` datetime default NULL,
1347 1345 `previous_run_time` datetime default NULL,
1348 1346 `run_duration` float default NULL,
1349   - `status` ENUM('enabled', 'disabled', 'system') NOT NULL DEFAULT 'disabled',
  1347 + `status` enum('enabled','disabled','system') NOT NULL default 'disabled',
1350 1348 PRIMARY KEY (`id`),
1351 1349 UNIQUE KEY `task` (`task`)
1352 1350 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -1381,7 +1379,7 @@ CREATE TABLE `search_ranking` (
1381 1379 --
1382 1380  
1383 1381 CREATE TABLE `search_saved` (
1384   - `id` int(11) NOT NULL,
  1382 + `id` int(11) NOT NULL auto_increment,
1385 1383 `name` varchar(100) NOT NULL,
1386 1384 `expression` tinytext NOT NULL,
1387 1385 `user_id` int(11) NOT NULL,
... ... @@ -1407,7 +1405,7 @@ CREATE TABLE `search_saved_events` (
1407 1405 --
1408 1406  
1409 1407 CREATE TABLE `status_lookup` (
1410   - `id` int(11) NOT NULL default '0',
  1408 + `id` int(11) NOT NULL auto_increment,
1411 1409 `name` char(255) default NULL,
1412 1410 PRIMARY KEY (`id`)
1413 1411 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -1417,7 +1415,7 @@ CREATE TABLE `status_lookup` (
1417 1415 --
1418 1416  
1419 1417 CREATE TABLE `system_settings` (
1420   - `id` int(11) NOT NULL default '0',
  1418 + `id` int(11) NOT NULL auto_increment,
1421 1419 `name` char(255) NOT NULL default '',
1422 1420 `value` text NOT NULL,
1423 1421 PRIMARY KEY (`id`),
... ... @@ -1429,7 +1427,7 @@ CREATE TABLE `system_settings` (
1429 1427 --
1430 1428  
1431 1429 CREATE TABLE `tag_words` (
1432   - `id` int(10) NOT NULL,
  1430 + `id` int(11) NOT NULL auto_increment,
1433 1431 `tag` varchar(100) default NULL,
1434 1432 PRIMARY KEY (`id`)
1435 1433 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -1439,7 +1437,7 @@ CREATE TABLE `tag_words` (
1439 1437 --
1440 1438  
1441 1439 CREATE TABLE `time_period` (
1442   - `id` int(11) NOT NULL default '0',
  1440 + `id` int(11) NOT NULL auto_increment,
1443 1441 `time_unit_id` int(11) default NULL,
1444 1442 `units` int(11) default NULL,
1445 1443 PRIMARY KEY (`id`),
... ... @@ -1452,7 +1450,7 @@ CREATE TABLE `time_period` (
1452 1450 --
1453 1451  
1454 1452 CREATE TABLE `time_unit_lookup` (
1455   - `id` int(11) NOT NULL default '0',
  1453 + `id` int(11) NOT NULL auto_increment,
1456 1454 `name` char(100) default NULL,
1457 1455 PRIMARY KEY (`id`)
1458 1456 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -1485,7 +1483,7 @@ CREATE TABLE `type_workflow_map` (
1485 1483 --
1486 1484  
1487 1485 CREATE TABLE `units_lookup` (
1488   - `id` int(11) NOT NULL default '0',
  1486 + `id` int(11) NOT NULL auto_increment,
1489 1487 `name` char(100) NOT NULL default '',
1490 1488 `folder_id` int(11) NOT NULL default '0',
1491 1489 PRIMARY KEY (`id`),
... ... @@ -1499,7 +1497,7 @@ CREATE TABLE `units_lookup` (
1499 1497 --
1500 1498  
1501 1499 CREATE TABLE `units_organisations_link` (
1502   - `id` int(11) NOT NULL default '0',
  1500 + `id` int(11) NOT NULL auto_increment,
1503 1501 `unit_id` int(11) NOT NULL default '0',
1504 1502 `organisation_id` int(11) NOT NULL default '0',
1505 1503 PRIMARY KEY (`id`),
... ... @@ -1514,7 +1512,7 @@ CREATE TABLE `units_organisations_link` (
1514 1512 --
1515 1513  
1516 1514 CREATE TABLE `upgrades` (
1517   - `id` int(10) unsigned NOT NULL default '0',
  1515 + `id` int(11) NOT NULL auto_increment,
1518 1516 `descriptor` char(100) NOT NULL default '',
1519 1517 `description` char(255) NOT NULL default '',
1520 1518 `date_performed` datetime NOT NULL default '0000-00-00 00:00:00',
... ... @@ -1548,7 +1546,7 @@ CREATE TABLE `uploaded_files` (
1548 1546 --
1549 1547  
1550 1548 CREATE TABLE `user_history` (
1551   - `id` int(11) NOT NULL,
  1549 + `id` int(11) NOT NULL auto_increment,
1552 1550 `datetime` datetime NOT NULL,
1553 1551 `user_id` int(11) NOT NULL,
1554 1552 `action_namespace` varchar(255) NOT NULL,
... ... @@ -1567,7 +1565,7 @@ CREATE TABLE `user_history` (
1567 1565 --
1568 1566  
1569 1567 CREATE TABLE `users` (
1570   - `id` int(11) NOT NULL default '0',
  1568 + `id` int(11) NOT NULL auto_increment,
1571 1569 `username` varchar(255) NOT NULL default '',
1572 1570 `name` varchar(255) NOT NULL default '',
1573 1571 `password` varchar(255) NOT NULL default '',
... ... @@ -1603,7 +1601,7 @@ CREATE TABLE `users` (
1603 1601 --
1604 1602  
1605 1603 CREATE TABLE `users_groups_link` (
1606   - `id` int(11) NOT NULL default '0',
  1604 + `id` int(11) NOT NULL auto_increment,
1607 1605 `user_id` int(11) NOT NULL default '0',
1608 1606 `group_id` int(11) NOT NULL default '0',
1609 1607 PRIMARY KEY (`id`),
... ... @@ -1666,7 +1664,7 @@ CREATE TABLE `workflow_state_disabled_actions` (
1666 1664 --
1667 1665  
1668 1666 CREATE TABLE `workflow_state_permission_assignments` (
1669   - `id` int(11) NOT NULL default '0',
  1667 + `id` int(11) NOT NULL auto_increment,
1670 1668 `workflow_state_id` int(11) NOT NULL default '0',
1671 1669 `permission_id` int(11) NOT NULL default '0',
1672 1670 `permission_descriptor_id` int(11) NOT NULL default '0',
... ... @@ -1697,7 +1695,7 @@ CREATE TABLE `workflow_state_transitions` (
1697 1695 --
1698 1696  
1699 1697 CREATE TABLE `workflow_states` (
1700   - `id` int(11) NOT NULL default '0',
  1698 + `id` int(11) NOT NULL auto_increment,
1701 1699 `workflow_id` int(11) NOT NULL default '0',
1702 1700 `name` char(255) NOT NULL default '',
1703 1701 `human_name` char(100) NOT NULL default '',
... ... @@ -1717,7 +1715,7 @@ CREATE TABLE `workflow_states` (
1717 1715 --
1718 1716  
1719 1717 CREATE TABLE `workflow_transitions` (
1720   - `id` int(11) NOT NULL default '0',
  1718 + `id` int(11) NOT NULL auto_increment,
1721 1719 `workflow_id` int(11) NOT NULL default '0',
1722 1720 `name` char(255) NOT NULL default '',
1723 1721 `human_name` char(100) NOT NULL default '',
... ... @@ -1747,7 +1745,7 @@ CREATE TABLE `workflow_transitions` (
1747 1745 --
1748 1746  
1749 1747 CREATE TABLE `workflow_trigger_instances` (
1750   - `id` int(10) unsigned NOT NULL default '0',
  1748 + `id` int(11) NOT NULL auto_increment,
1751 1749 `workflow_transition_id` int(11) NOT NULL default '0',
1752 1750 `namespace` char(255) NOT NULL default '',
1753 1751 `config_array` text,
... ... @@ -1762,7 +1760,7 @@ CREATE TABLE `workflow_trigger_instances` (
1762 1760 --
1763 1761  
1764 1762 CREATE TABLE `workflows` (
1765   - `id` int(11) NOT NULL default '0',
  1763 + `id` int(11) NOT NULL auto_increment,
1766 1764 `name` char(250) NOT NULL default '',
1767 1765 `human_name` char(100) NOT NULL default '',
1768 1766 `start_state_id` int(11) default NULL,
... ... @@ -1780,7 +1778,7 @@ CREATE TABLE `workflows` (
1780 1778 CREATE TABLE `zseq_active_sessions` (
1781 1779 `id` int(10) unsigned NOT NULL auto_increment,
1782 1780 PRIMARY KEY (`id`)
1783   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1781 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1784 1782  
1785 1783 --
1786 1784 -- Table structure for table `zseq_archive_restoration_request`
... ... @@ -1789,7 +1787,7 @@ CREATE TABLE `zseq_active_sessions` (
1789 1787 CREATE TABLE `zseq_archive_restoration_request` (
1790 1788 `id` int(10) unsigned NOT NULL auto_increment,
1791 1789 PRIMARY KEY (`id`)
1792   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1790 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1793 1791  
1794 1792 --
1795 1793 -- Table structure for table `zseq_archiving_settings`
... ... @@ -1798,7 +1796,7 @@ CREATE TABLE `zseq_archive_restoration_request` (
1798 1796 CREATE TABLE `zseq_archiving_settings` (
1799 1797 `id` int(10) unsigned NOT NULL auto_increment,
1800 1798 PRIMARY KEY (`id`)
1801   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1799 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1802 1800  
1803 1801 --
1804 1802 -- Table structure for table `zseq_archiving_type_lookup`
... ... @@ -1807,7 +1805,7 @@ CREATE TABLE `zseq_archiving_settings` (
1807 1805 CREATE TABLE `zseq_archiving_type_lookup` (
1808 1806 `id` int(10) unsigned NOT NULL auto_increment,
1809 1807 PRIMARY KEY (`id`)
1810   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  1808 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1811 1809  
1812 1810 --
1813 1811 -- Table structure for table `zseq_authentication_sources`
... ... @@ -1816,7 +1814,7 @@ CREATE TABLE `zseq_archiving_type_lookup` (
1816 1814 CREATE TABLE `zseq_authentication_sources` (
1817 1815 `id` int(10) unsigned NOT NULL auto_increment,
1818 1816 PRIMARY KEY (`id`)
1819   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1817 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1820 1818  
1821 1819 --
1822 1820 -- Table structure for table `zseq_column_entries`
... ... @@ -1825,7 +1823,7 @@ CREATE TABLE `zseq_authentication_sources` (
1825 1823 CREATE TABLE `zseq_column_entries` (
1826 1824 `id` int(10) unsigned NOT NULL auto_increment,
1827 1825 PRIMARY KEY (`id`)
1828   -) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
  1826 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1829 1827  
1830 1828 --
1831 1829 -- Table structure for table `zseq_config_settings`
... ... @@ -1834,7 +1832,7 @@ CREATE TABLE `zseq_column_entries` (
1834 1832 CREATE TABLE `zseq_config_settings` (
1835 1833 `id` int(10) unsigned NOT NULL auto_increment,
1836 1834 PRIMARY KEY (`id`)
1837   -) ENGINE=MyISAM AUTO_INCREMENT=108 DEFAULT CHARSET=latin1;
  1835 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1838 1836  
1839 1837 --
1840 1838 -- Table structure for table `zseq_dashlet_disables`
... ... @@ -1843,7 +1841,7 @@ CREATE TABLE `zseq_config_settings` (
1843 1841 CREATE TABLE `zseq_dashlet_disables` (
1844 1842 `id` int(10) unsigned NOT NULL auto_increment,
1845 1843 PRIMARY KEY (`id`)
1846   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1844 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1847 1845  
1848 1846 --
1849 1847 -- Table structure for table `zseq_data_types`
... ... @@ -1852,7 +1850,7 @@ CREATE TABLE `zseq_dashlet_disables` (
1852 1850 CREATE TABLE `zseq_data_types` (
1853 1851 `id` int(10) unsigned NOT NULL auto_increment,
1854 1852 PRIMARY KEY (`id`)
1855   -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  1853 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1856 1854  
1857 1855 --
1858 1856 -- Table structure for table `zseq_discussion_comments`
... ... @@ -1861,7 +1859,7 @@ CREATE TABLE `zseq_data_types` (
1861 1859 CREATE TABLE `zseq_discussion_comments` (
1862 1860 `id` int(10) unsigned NOT NULL auto_increment,
1863 1861 PRIMARY KEY (`id`)
1864   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1862 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1865 1863  
1866 1864 --
1867 1865 -- Table structure for table `zseq_discussion_threads`
... ... @@ -1870,7 +1868,7 @@ CREATE TABLE `zseq_discussion_comments` (
1870 1868 CREATE TABLE `zseq_discussion_threads` (
1871 1869 `id` int(10) unsigned NOT NULL auto_increment,
1872 1870 PRIMARY KEY (`id`)
1873   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1871 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1874 1872  
1875 1873 --
1876 1874 -- Table structure for table `zseq_document_archiving_link`
... ... @@ -1879,7 +1877,7 @@ CREATE TABLE `zseq_discussion_threads` (
1879 1877 CREATE TABLE `zseq_document_archiving_link` (
1880 1878 `id` int(10) unsigned NOT NULL auto_increment,
1881 1879 PRIMARY KEY (`id`)
1882   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1880 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1883 1881  
1884 1882 --
1885 1883 -- Table structure for table `zseq_document_content_version`
... ... @@ -1888,7 +1886,7 @@ CREATE TABLE `zseq_document_archiving_link` (
1888 1886 CREATE TABLE `zseq_document_content_version` (
1889 1887 `id` int(10) unsigned NOT NULL auto_increment,
1890 1888 PRIMARY KEY (`id`)
1891   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1889 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1892 1890  
1893 1891 --
1894 1892 -- Table structure for table `zseq_document_fields`
... ... @@ -1897,7 +1895,7 @@ CREATE TABLE `zseq_document_content_version` (
1897 1895 CREATE TABLE `zseq_document_fields` (
1898 1896 `id` int(10) unsigned NOT NULL auto_increment,
1899 1897 PRIMARY KEY (`id`)
1900   -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  1898 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1901 1899  
1902 1900 --
1903 1901 -- Table structure for table `zseq_document_fields_link`
... ... @@ -1906,7 +1904,7 @@ CREATE TABLE `zseq_document_fields` (
1906 1904 CREATE TABLE `zseq_document_fields_link` (
1907 1905 `id` int(10) unsigned NOT NULL auto_increment,
1908 1906 PRIMARY KEY (`id`)
1909   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1907 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1910 1908  
1911 1909 --
1912 1910 -- Table structure for table `zseq_document_link`
... ... @@ -1915,7 +1913,7 @@ CREATE TABLE `zseq_document_fields_link` (
1915 1913 CREATE TABLE `zseq_document_link` (
1916 1914 `id` int(10) unsigned NOT NULL auto_increment,
1917 1915 PRIMARY KEY (`id`)
1918   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1916 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1919 1917  
1920 1918 --
1921 1919 -- Table structure for table `zseq_document_link_types`
... ... @@ -1924,7 +1922,7 @@ CREATE TABLE `zseq_document_link` (
1924 1922 CREATE TABLE `zseq_document_link_types` (
1925 1923 `id` int(10) unsigned NOT NULL auto_increment,
1926 1924 PRIMARY KEY (`id`)
1927   -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  1925 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1928 1926  
1929 1927 --
1930 1928 -- Table structure for table `zseq_document_metadata_version`
... ... @@ -1933,7 +1931,7 @@ CREATE TABLE `zseq_document_link_types` (
1933 1931 CREATE TABLE `zseq_document_metadata_version` (
1934 1932 `id` int(10) unsigned NOT NULL auto_increment,
1935 1933 PRIMARY KEY (`id`)
1936   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1934 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1937 1935  
1938 1936 --
1939 1937 -- Table structure for table `zseq_document_role_allocations`
... ... @@ -1951,7 +1949,7 @@ CREATE TABLE `zseq_document_role_allocations` (
1951 1949 CREATE TABLE `zseq_document_subscriptions` (
1952 1950 `id` int(10) unsigned NOT NULL auto_increment,
1953 1951 PRIMARY KEY (`id`)
1954   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1952 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1955 1953  
1956 1954 --
1957 1955 -- Table structure for table `zseq_document_tags`
... ... @@ -1969,7 +1967,7 @@ CREATE TABLE `zseq_document_tags` (
1969 1967 CREATE TABLE `zseq_document_transaction_types_lookup` (
1970 1968 `id` int(10) unsigned NOT NULL auto_increment,
1971 1969 PRIMARY KEY (`id`)
1972   -) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1;
  1970 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1973 1971  
1974 1972 --
1975 1973 -- Table structure for table `zseq_document_transactions`
... ... @@ -1978,7 +1976,7 @@ CREATE TABLE `zseq_document_transaction_types_lookup` (
1978 1976 CREATE TABLE `zseq_document_transactions` (
1979 1977 `id` int(10) unsigned NOT NULL auto_increment,
1980 1978 PRIMARY KEY (`id`)
1981   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1979 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1982 1980  
1983 1981 --
1984 1982 -- Table structure for table `zseq_document_type_fields_link`
... ... @@ -1987,7 +1985,7 @@ CREATE TABLE `zseq_document_transactions` (
1987 1985 CREATE TABLE `zseq_document_type_fields_link` (
1988 1986 `id` int(10) unsigned NOT NULL auto_increment,
1989 1987 PRIMARY KEY (`id`)
1990   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1988 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1991 1989  
1992 1990 --
1993 1991 -- Table structure for table `zseq_document_type_fieldsets_link`
... ... @@ -1996,7 +1994,7 @@ CREATE TABLE `zseq_document_type_fields_link` (
1996 1994 CREATE TABLE `zseq_document_type_fieldsets_link` (
1997 1995 `id` int(10) unsigned NOT NULL auto_increment,
1998 1996 PRIMARY KEY (`id`)
1999   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1997 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2000 1998  
2001 1999 --
2002 2000 -- Table structure for table `zseq_document_types_lookup`
... ... @@ -2005,7 +2003,7 @@ CREATE TABLE `zseq_document_type_fieldsets_link` (
2005 2003 CREATE TABLE `zseq_document_types_lookup` (
2006 2004 `id` int(10) unsigned NOT NULL auto_increment,
2007 2005 PRIMARY KEY (`id`)
2008   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2006 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2009 2007  
2010 2008 --
2011 2009 -- Table structure for table `zseq_documents`
... ... @@ -2014,7 +2012,7 @@ CREATE TABLE `zseq_document_types_lookup` (
2014 2012 CREATE TABLE `zseq_documents` (
2015 2013 `id` int(10) unsigned NOT NULL auto_increment,
2016 2014 PRIMARY KEY (`id`)
2017   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2015 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2018 2016  
2019 2017 --
2020 2018 -- Table structure for table `zseq_field_behaviours`
... ... @@ -2023,7 +2021,7 @@ CREATE TABLE `zseq_documents` (
2023 2021 CREATE TABLE `zseq_field_behaviours` (
2024 2022 `id` int(10) unsigned NOT NULL auto_increment,
2025 2023 PRIMARY KEY (`id`)
2026   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2024 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2027 2025  
2028 2026 --
2029 2027 -- Table structure for table `zseq_field_value_instances`
... ... @@ -2032,7 +2030,7 @@ CREATE TABLE `zseq_field_behaviours` (
2032 2030 CREATE TABLE `zseq_field_value_instances` (
2033 2031 `id` int(10) unsigned NOT NULL auto_increment,
2034 2032 PRIMARY KEY (`id`)
2035   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2033 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2036 2034  
2037 2035 --
2038 2036 -- Table structure for table `zseq_fieldsets`
... ... @@ -2041,7 +2039,7 @@ CREATE TABLE `zseq_field_value_instances` (
2041 2039 CREATE TABLE `zseq_fieldsets` (
2042 2040 `id` int(10) unsigned NOT NULL auto_increment,
2043 2041 PRIMARY KEY (`id`)
2044   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2042 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2045 2043  
2046 2044 --
2047 2045 -- Table structure for table `zseq_folder_doctypes_link`
... ... @@ -2050,7 +2048,7 @@ CREATE TABLE `zseq_fieldsets` (
2050 2048 CREATE TABLE `zseq_folder_doctypes_link` (
2051 2049 `id` int(10) unsigned NOT NULL auto_increment,
2052 2050 PRIMARY KEY (`id`)
2053   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  2051 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2054 2052  
2055 2053 --
2056 2054 -- Table structure for table `zseq_folder_subscriptions`
... ... @@ -2059,7 +2057,7 @@ CREATE TABLE `zseq_folder_doctypes_link` (
2059 2057 CREATE TABLE `zseq_folder_subscriptions` (
2060 2058 `id` int(10) unsigned NOT NULL auto_increment,
2061 2059 PRIMARY KEY (`id`)
2062   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2060 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2063 2061  
2064 2062 --
2065 2063 -- Table structure for table `zseq_folder_transactions`
... ... @@ -2077,7 +2075,7 @@ CREATE TABLE `zseq_folder_transactions` (
2077 2075 CREATE TABLE `zseq_folders` (
2078 2076 `id` int(10) unsigned NOT NULL auto_increment,
2079 2077 PRIMARY KEY (`id`)
2080   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  2078 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2081 2079  
2082 2080 --
2083 2081 -- Table structure for table `zseq_folders_users_roles_link`
... ... @@ -2086,7 +2084,7 @@ CREATE TABLE `zseq_folders` (
2086 2084 CREATE TABLE `zseq_folders_users_roles_link` (
2087 2085 `id` int(10) unsigned NOT NULL auto_increment,
2088 2086 PRIMARY KEY (`id`)
2089   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2087 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2090 2088  
2091 2089 --
2092 2090 -- Table structure for table `zseq_groups_groups_link`
... ... @@ -2095,7 +2093,7 @@ CREATE TABLE `zseq_folders_users_roles_link` (
2095 2093 CREATE TABLE `zseq_groups_groups_link` (
2096 2094 `id` int(10) unsigned NOT NULL auto_increment,
2097 2095 PRIMARY KEY (`id`)
2098   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2096 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2099 2097  
2100 2098 --
2101 2099 -- Table structure for table `zseq_groups_lookup`
... ... @@ -2104,7 +2102,7 @@ CREATE TABLE `zseq_groups_groups_link` (
2104 2102 CREATE TABLE `zseq_groups_lookup` (
2105 2103 `id` int(10) unsigned NOT NULL auto_increment,
2106 2104 PRIMARY KEY (`id`)
2107   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2105 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2108 2106  
2109 2107 --
2110 2108 -- Table structure for table `zseq_help`
... ... @@ -2113,7 +2111,7 @@ CREATE TABLE `zseq_groups_lookup` (
2113 2111 CREATE TABLE `zseq_help` (
2114 2112 `id` int(10) unsigned NOT NULL auto_increment,
2115 2113 PRIMARY KEY (`id`)
2116   -) ENGINE=MyISAM AUTO_INCREMENT=101 DEFAULT CHARSET=latin1;
  2114 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2117 2115  
2118 2116 --
2119 2117 -- Table structure for table `zseq_help_replacement`
... ... @@ -2122,7 +2120,7 @@ CREATE TABLE `zseq_help` (
2122 2120 CREATE TABLE `zseq_help_replacement` (
2123 2121 `id` int(10) unsigned NOT NULL auto_increment,
2124 2122 PRIMARY KEY (`id`)
2125   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2123 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2126 2124  
2127 2125 --
2128 2126 -- Table structure for table `zseq_interceptor_instances`
... ... @@ -2140,7 +2138,7 @@ CREATE TABLE `zseq_interceptor_instances` (
2140 2138 CREATE TABLE `zseq_links` (
2141 2139 `id` int(10) unsigned NOT NULL auto_increment,
2142 2140 PRIMARY KEY (`id`)
2143   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2141 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2144 2142  
2145 2143 --
2146 2144 -- Table structure for table `zseq_metadata_lookup`
... ... @@ -2149,7 +2147,7 @@ CREATE TABLE `zseq_links` (
2149 2147 CREATE TABLE `zseq_metadata_lookup` (
2150 2148 `id` int(10) unsigned NOT NULL auto_increment,
2151 2149 PRIMARY KEY (`id`)
2152   -) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
  2150 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2153 2151  
2154 2152 --
2155 2153 -- Table structure for table `zseq_metadata_lookup_tree`
... ... @@ -2158,7 +2156,7 @@ CREATE TABLE `zseq_metadata_lookup` (
2158 2156 CREATE TABLE `zseq_metadata_lookup_tree` (
2159 2157 `id` int(10) unsigned NOT NULL auto_increment,
2160 2158 PRIMARY KEY (`id`)
2161   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2159 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2162 2160  
2163 2161 --
2164 2162 -- Table structure for table `zseq_mime_documents`
... ... @@ -2183,7 +2181,7 @@ CREATE TABLE `zseq_mime_extractors` (
2183 2181 CREATE TABLE `zseq_mime_types` (
2184 2182 `id` int(10) unsigned NOT NULL auto_increment,
2185 2183 PRIMARY KEY (`id`)
2186   -) ENGINE=MyISAM AUTO_INCREMENT=162 DEFAULT CHARSET=latin1;
  2184 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2187 2185  
2188 2186 --
2189 2187 -- Table structure for table `zseq_news`
... ... @@ -2192,7 +2190,7 @@ CREATE TABLE `zseq_mime_types` (
2192 2190 CREATE TABLE `zseq_news` (
2193 2191 `id` int(10) unsigned NOT NULL auto_increment,
2194 2192 PRIMARY KEY (`id`)
2195   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2193 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2196 2194  
2197 2195 --
2198 2196 -- Table structure for table `zseq_notifications`
... ... @@ -2201,7 +2199,7 @@ CREATE TABLE `zseq_news` (
2201 2199 CREATE TABLE `zseq_notifications` (
2202 2200 `id` int(10) unsigned NOT NULL auto_increment,
2203 2201 PRIMARY KEY (`id`)
2204   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2202 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2205 2203  
2206 2204 --
2207 2205 -- Table structure for table `zseq_organisations_lookup`
... ... @@ -2210,7 +2208,7 @@ CREATE TABLE `zseq_notifications` (
2210 2208 CREATE TABLE `zseq_organisations_lookup` (
2211 2209 `id` int(10) unsigned NOT NULL auto_increment,
2212 2210 PRIMARY KEY (`id`)
2213   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2211 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2214 2212  
2215 2213 --
2216 2214 -- Table structure for table `zseq_permission_assignments`
... ... @@ -2219,7 +2217,7 @@ CREATE TABLE `zseq_organisations_lookup` (
2219 2217 CREATE TABLE `zseq_permission_assignments` (
2220 2218 `id` int(10) unsigned NOT NULL auto_increment,
2221 2219 PRIMARY KEY (`id`)
2222   -) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
  2220 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2223 2221  
2224 2222 --
2225 2223 -- Table structure for table `zseq_permission_descriptors`
... ... @@ -2228,7 +2226,7 @@ CREATE TABLE `zseq_permission_assignments` (
2228 2226 CREATE TABLE `zseq_permission_descriptors` (
2229 2227 `id` int(10) unsigned NOT NULL auto_increment,
2230 2228 PRIMARY KEY (`id`)
2231   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  2229 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2232 2230  
2233 2231 --
2234 2232 -- Table structure for table `zseq_permission_dynamic_conditions`
... ... @@ -2237,7 +2235,7 @@ CREATE TABLE `zseq_permission_descriptors` (
2237 2235 CREATE TABLE `zseq_permission_dynamic_conditions` (
2238 2236 `id` int(10) unsigned NOT NULL auto_increment,
2239 2237 PRIMARY KEY (`id`)
2240   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2238 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2241 2239  
2242 2240 --
2243 2241 -- Table structure for table `zseq_permission_lookup_assignments`
... ... @@ -2246,7 +2244,7 @@ CREATE TABLE `zseq_permission_dynamic_conditions` (
2246 2244 CREATE TABLE `zseq_permission_lookup_assignments` (
2247 2245 `id` int(10) unsigned NOT NULL auto_increment,
2248 2246 PRIMARY KEY (`id`)
2249   -) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=latin1;
  2247 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2250 2248  
2251 2249 --
2252 2250 -- Table structure for table `zseq_permission_lookups`
... ... @@ -2255,7 +2253,7 @@ CREATE TABLE `zseq_permission_lookup_assignments` (
2255 2253 CREATE TABLE `zseq_permission_lookups` (
2256 2254 `id` int(10) unsigned NOT NULL auto_increment,
2257 2255 PRIMARY KEY (`id`)
2258   -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  2256 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2259 2257  
2260 2258 --
2261 2259 -- Table structure for table `zseq_permission_objects`
... ... @@ -2264,7 +2262,7 @@ CREATE TABLE `zseq_permission_lookups` (
2264 2262 CREATE TABLE `zseq_permission_objects` (
2265 2263 `id` int(10) unsigned NOT NULL auto_increment,
2266 2264 PRIMARY KEY (`id`)
2267   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2265 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2268 2266  
2269 2267 --
2270 2268 -- Table structure for table `zseq_permissions`
... ... @@ -2273,37 +2271,35 @@ CREATE TABLE `zseq_permission_objects` (
2273 2271 CREATE TABLE `zseq_permissions` (
2274 2272 `id` int(10) unsigned NOT NULL auto_increment,
2275 2273 PRIMARY KEY (`id`)
2276   -) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
  2274 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2277 2275  
2278 2276 --
2279   --- Table structure for table `zseq_plugin_rss`
  2277 +-- Table structure for table `zseq_plugin_helper`
2280 2278 --
2281 2279  
2282   -CREATE TABLE `zseq_plugin_rss` (
  2280 +CREATE TABLE `zseq_plugin_helper` (
2283 2281 `id` int(10) unsigned NOT NULL auto_increment,
2284 2282 PRIMARY KEY (`id`)
2285   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2283 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2286 2284  
2287 2285 --
2288   --- Table structure for table `zseq_plugins`
  2286 +-- Table structure for table `zseq_plugin_rss`
2289 2287 --
2290 2288  
2291   -CREATE TABLE `zseq_plugins` (
  2289 +CREATE TABLE `zseq_plugin_rss` (
2292 2290 `id` int(10) unsigned NOT NULL auto_increment,
2293 2291 PRIMARY KEY (`id`)
2294   -) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1;
  2292 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2295 2293  
2296 2294 --
2297   --- Table structure for table `zseq_plugin_helper`
  2295 +-- Table structure for table `zseq_plugins`
2298 2296 --
2299 2297  
2300   -CREATE TABLE `zseq_plugin_helper` (
  2298 +CREATE TABLE `zseq_plugins` (
2301 2299 `id` int(10) unsigned NOT NULL auto_increment,
2302 2300 PRIMARY KEY (`id`)
2303 2301 ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2304 2302  
2305   --- --------------------------------------------------------
2306   -
2307 2303 --
2308 2304 -- Table structure for table `zseq_role_allocations`
2309 2305 --
... ... @@ -2311,7 +2307,7 @@ CREATE TABLE `zseq_plugin_helper` (
2311 2307 CREATE TABLE `zseq_role_allocations` (
2312 2308 `id` int(10) unsigned NOT NULL auto_increment,
2313 2309 PRIMARY KEY (`id`)
2314   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2310 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2315 2311  
2316 2312 --
2317 2313 -- Table structure for table `zseq_roles`
... ... @@ -2320,7 +2316,7 @@ CREATE TABLE `zseq_role_allocations` (
2320 2316 CREATE TABLE `zseq_roles` (
2321 2317 `id` int(10) unsigned NOT NULL auto_increment,
2322 2318 PRIMARY KEY (`id`)
2323   -) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
  2319 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2324 2320  
2325 2321 --
2326 2322 -- Table structure for table `zseq_saved_searches`
... ... @@ -2329,7 +2325,7 @@ CREATE TABLE `zseq_roles` (
2329 2325 CREATE TABLE `zseq_saved_searches` (
2330 2326 `id` int(10) unsigned NOT NULL auto_increment,
2331 2327 PRIMARY KEY (`id`)
2332   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2328 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2333 2329  
2334 2330 --
2335 2331 -- Table structure for table `zseq_scheduler_tasks`
... ... @@ -2355,7 +2351,7 @@ CREATE TABLE `zseq_search_saved` (
2355 2351 CREATE TABLE `zseq_status_lookup` (
2356 2352 `id` int(10) unsigned NOT NULL auto_increment,
2357 2353 PRIMARY KEY (`id`)
2358   -) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
  2354 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2359 2355  
2360 2356 --
2361 2357 -- Table structure for table `zseq_system_settings`
... ... @@ -2364,7 +2360,7 @@ CREATE TABLE `zseq_status_lookup` (
2364 2360 CREATE TABLE `zseq_system_settings` (
2365 2361 `id` int(10) unsigned NOT NULL auto_increment,
2366 2362 PRIMARY KEY (`id`)
2367   -) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
  2363 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2368 2364  
2369 2365 --
2370 2366 -- Table structure for table `zseq_tag_words`
... ... @@ -2382,7 +2378,7 @@ CREATE TABLE `zseq_tag_words` (
2382 2378 CREATE TABLE `zseq_time_period` (
2383 2379 `id` int(10) unsigned NOT NULL auto_increment,
2384 2380 PRIMARY KEY (`id`)
2385   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2381 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2386 2382  
2387 2383 --
2388 2384 -- Table structure for table `zseq_time_unit_lookup`
... ... @@ -2391,7 +2387,7 @@ CREATE TABLE `zseq_time_period` (
2391 2387 CREATE TABLE `zseq_time_unit_lookup` (
2392 2388 `id` int(10) unsigned NOT NULL auto_increment,
2393 2389 PRIMARY KEY (`id`)
2394   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2390 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2395 2391  
2396 2392 --
2397 2393 -- Table structure for table `zseq_units_lookup`
... ... @@ -2400,7 +2396,7 @@ CREATE TABLE `zseq_time_unit_lookup` (
2400 2396 CREATE TABLE `zseq_units_lookup` (
2401 2397 `id` int(10) unsigned NOT NULL auto_increment,
2402 2398 PRIMARY KEY (`id`)
2403   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2399 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2404 2400  
2405 2401 --
2406 2402 -- Table structure for table `zseq_units_organisations_link`
... ... @@ -2409,7 +2405,7 @@ CREATE TABLE `zseq_units_lookup` (
2409 2405 CREATE TABLE `zseq_units_organisations_link` (
2410 2406 `id` int(10) unsigned NOT NULL auto_increment,
2411 2407 PRIMARY KEY (`id`)
2412   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2408 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2413 2409  
2414 2410 --
2415 2411 -- Table structure for table `zseq_upgrades`
... ... @@ -2418,7 +2414,7 @@ CREATE TABLE `zseq_units_organisations_link` (
2418 2414 CREATE TABLE `zseq_upgrades` (
2419 2415 `id` int(10) unsigned NOT NULL auto_increment,
2420 2416 PRIMARY KEY (`id`)
2421   -) ENGINE=MyISAM AUTO_INCREMENT=154 DEFAULT CHARSET=latin1;
  2417 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2422 2418  
2423 2419 --
2424 2420 -- Table structure for table `zseq_user_history`
... ... @@ -2436,7 +2432,7 @@ CREATE TABLE `zseq_user_history` (
2436 2432 CREATE TABLE `zseq_users` (
2437 2433 `id` int(10) unsigned NOT NULL auto_increment,
2438 2434 PRIMARY KEY (`id`)
2439   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2435 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2440 2436  
2441 2437 --
2442 2438 -- Table structure for table `zseq_users_groups_link`
... ... @@ -2445,7 +2441,7 @@ CREATE TABLE `zseq_users` (
2445 2441 CREATE TABLE `zseq_users_groups_link` (
2446 2442 `id` int(10) unsigned NOT NULL auto_increment,
2447 2443 PRIMARY KEY (`id`)
2448   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2444 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2449 2445  
2450 2446 --
2451 2447 -- Table structure for table `zseq_workflow_state_disabled_actions`
... ... @@ -2463,7 +2459,7 @@ CREATE TABLE `zseq_workflow_state_disabled_actions` (
2463 2459 CREATE TABLE `zseq_workflow_state_permission_assignments` (
2464 2460 `id` int(10) unsigned NOT NULL auto_increment,
2465 2461 PRIMARY KEY (`id`)
2466   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2462 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2467 2463  
2468 2464 --
2469 2465 -- Table structure for table `zseq_workflow_states`
... ... @@ -2472,7 +2468,7 @@ CREATE TABLE `zseq_workflow_state_permission_assignments` (
2472 2468 CREATE TABLE `zseq_workflow_states` (
2473 2469 `id` int(10) unsigned NOT NULL auto_increment,
2474 2470 PRIMARY KEY (`id`)
2475   -) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
  2471 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2476 2472  
2477 2473 --
2478 2474 -- Table structure for table `zseq_workflow_transitions`
... ... @@ -2481,7 +2477,7 @@ CREATE TABLE `zseq_workflow_states` (
2481 2477 CREATE TABLE `zseq_workflow_transitions` (
2482 2478 `id` int(10) unsigned NOT NULL auto_increment,
2483 2479 PRIMARY KEY (`id`)
2484   -) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
  2480 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2485 2481  
2486 2482 --
2487 2483 -- Table structure for table `zseq_workflow_trigger_instances`
... ... @@ -2499,7 +2495,7 @@ CREATE TABLE `zseq_workflow_trigger_instances` (
2499 2495 CREATE TABLE `zseq_workflows` (
2500 2496 `id` int(10) unsigned NOT NULL auto_increment,
2501 2497 PRIMARY KEY (`id`)
2502   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2498 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2503 2499 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2504 2500  
2505 2501 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
... ... @@ -2510,4 +2506,4 @@ CREATE TABLE `zseq_workflows` (
2510 2506 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
2511 2507 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2512 2508  
2513   --- Dump completed on 2007-10-23 13:43:23
  2509 +-- Dump completed on 2008-06-26 13:51:01
... ...
sql/mysql/upgrade/3.5.3/add_autoinc.sql 0 → 100644
  1 +alter table active_sessions change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  2 +alter table archive_restoration_request change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  3 +alter table archiving_settings change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  4 +alter table archiving_type_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  5 +alter table authentication_sources change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  6 +alter table column_entries change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  7 +alter table config_settings change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  8 +alter table dashlet_disables change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  9 +alter table data_types change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  10 +alter table discussion_comments change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  11 +alter table discussion_threads change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  12 +alter table document_archiving_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  13 +alter table document_content_version change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  14 +alter table document_fields change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  15 +alter table document_fields_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  16 +alter table document_incomplete change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  17 +alter table document_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  18 +alter table document_link_types change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  19 +alter table document_metadata_version change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  20 +alter table document_role_allocations change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  21 +alter table document_subscriptions change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  22 +alter table document_transaction_types_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  23 +alter table document_transactions change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  24 +alter table document_type_fields_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  25 +alter table document_type_fieldsets_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  26 +alter table document_types_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  27 +alter table documents change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  28 +alter table field_behaviours change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  29 +alter table field_value_instances change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  30 +alter table fieldsets change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  31 +alter table folder_doctypes_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  32 +alter table folder_subscriptions change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  33 +alter table folder_transactions change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  34 +alter table folders change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  35 +alter table folders_users_roles_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  36 +alter table groups_groups_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  37 +alter table groups_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  38 +alter table help change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  39 +alter table help_replacement change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  40 +alter table interceptor_instances change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  41 +alter table links change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  42 +alter table metadata_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  43 +alter table metadata_lookup_tree change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  44 +alter table mime_extractors change `id` `id` mediumint(9) NOT NULL AUTO_INCREMENT;
  45 +alter table mime_documents change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  46 +alter table mime_types change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  47 +alter table news change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  48 +alter table notifications change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  49 +alter table organisations_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  50 +alter table permission_assignments change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  51 +alter table permission_descriptors change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  52 +alter table permission_dynamic_conditions change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  53 +alter table permission_lookup_assignments change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  54 +alter table permission_lookups change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  55 +alter table permission_objects change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  56 +alter table permissions change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  57 +alter table plugin_helper change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  58 +alter table plugin_rss change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  59 +alter table plugins change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  60 +alter table role_allocations change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  61 +alter table roles change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  62 +alter table saved_searches change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  63 +alter table scheduler_tasks change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  64 +alter table search_saved change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  65 +alter table status_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  66 +alter table system_settings change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  67 +alter table tag_words change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  68 +alter table time_period change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  69 +alter table time_unit_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  70 +alter table units_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  71 +alter table units_organisations_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  72 +alter table upgrades change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  73 +alter table user_history change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  74 +alter table users change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  75 +alter table users_groups_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  76 +alter table workflow_state_permission_assignments change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  77 +alter table workflow_states change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  78 +alter table workflow_transitions change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  79 +alter table workflow_trigger_instances change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
  80 +alter table workflows change `id` `id` int (11) NOT NULL AUTO_INCREMENT;
0 81 \ No newline at end of file
... ...