Commit 08f2aae7cc1d787ccea7203a1a174d367a001480

Authored by Conrad Vermeulen
1 parent e3e5a436

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/trunk@8704 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
1   ---
2   --- $Id$
3   ---
4   --- KnowledgeTree Community Edition
5   --- Document Management Made Simple
6   --- Copyright (C) 2008 KnowledgeTree Inc.
7   --- Portions copyright The Jam Warehouse Software (Pty) Limited
8   ---
9   --- This program is free software; you can redistribute it and/or modify it under
10   --- the terms of the GNU General Public License version 3 as published by the
11   --- Free Software Foundation.
12   ---
13   --- This program is distributed in the hope that it will be useful, but WITHOUT
14   --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15   --- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
16   --- details.
17   ---
18   --- You should have received a copy of the GNU General Public License
19   ---
20   --- You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
21   --- California 94120-7775, or email info@knowledgetree.com.
22   ---
23   --- The interactive user interfaces in modified source and object code versions
24   --- of this program must display Appropriate Legal Notices, as required under
25   --- Section 5 of the GNU General Public License version 3.
26   ---
27   --- In accordance with Section 7(b) of the GNU General Public License version 3,
28   --- these Appropriate Legal Notices must retain the display of the "Powered by
29   --- KnowledgeTree" logo and retain the original copyright notice. If the display of the
30   --- logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
31   --- must display the words "Powered by KnowledgeTree" and retain the original
32   --- copyright notice.
33   --- Contributor( s): ______________________________________
34   ---
35 1 -- MySQL dump 10.11
36 2 --
37 3 -- Host: localhost Database: ktdms
... ... @@ -83,7 +48,9 @@ UNLOCK TABLES;
83 48  
84 49 LOCK TABLES `archiving_type_lookup` WRITE;
85 50 /*!40000 ALTER TABLE `archiving_type_lookup` DISABLE KEYS */;
86   -INSERT INTO `archiving_type_lookup` VALUES (1,'Date'),(2,'Utilisation');
  51 +INSERT INTO `archiving_type_lookup` VALUES
  52 +(1,'Date'),
  53 +(2,'Utilisation');
87 54 /*!40000 ALTER TABLE `archiving_type_lookup` ENABLE KEYS */;
88 55 UNLOCK TABLES;
89 56  
... ... @@ -102,7 +69,21 @@ UNLOCK TABLES;
102 69  
103 70 LOCK TABLES `column_entries` WRITE;
104 71 /*!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);
  72 +INSERT INTO `column_entries` VALUES
  73 +(1,'ktcore.columns.selection','ktcore.views.browse','',0,1),
  74 +(2,'ktcore.columns.title','ktcore.views.browse','',1,1),
  75 +(3,'ktcore.columns.download','ktcore.views.browse','',2,0),
  76 +(4,'ktcore.columns.creationdate','ktcore.views.browse','',3,0),
  77 +(5,'ktcore.columns.modificationdate','ktcore.views.browse','',4,0),
  78 +(6,'ktcore.columns.creator','ktcore.views.browse','',5,0),
  79 +(7,'ktcore.columns.workflow_state','ktcore.views.browse','',6,0),
  80 +(8,'ktcore.columns.selection','ktcore.views.search','',0,1),
  81 +(9,'ktcore.columns.title','ktcore.views.search','',1,1),
  82 +(10,'ktcore.columns.download','ktcore.views.search','',2,0),
  83 +(11,'ktcore.columns.creationdate','ktcore.views.search','',3,0),
  84 +(12,'ktcore.columns.modificationdate','ktcore.views.search','',4,0),
  85 +(13,'ktcore.columns.creator','ktcore.views.search','',5,0),
  86 +(14,'ktcore.columns.workflow_state','ktcore.views.search','',6,0);
106 87 /*!40000 ALTER TABLE `column_entries` ENABLE KEYS */;
107 88 UNLOCK TABLES;
108 89  
... ... @@ -121,7 +102,7 @@ UNLOCK TABLES;
121 102  
122 103 LOCK TABLES `config_settings` WRITE;
123 104 /*!40000 ALTER TABLE `config_settings` DISABLE KEYS */;
124   -INSERT INTO `config_settings`(`id`,`group_name`,`item`,`type`,`value`,`helptext`,`default_value`,`can_edit`) VALUES
  105 +INSERT INTO `config_settings` VALUES
125 106 (1,'ui','appName','','KnowledgeTree','OEM application name','KnowledgeTree',1),
126 107 (2,'KnowledgeTree','schedulerInterval','','30','','30',1),
127 108 (3,'dashboard','alwaysShowYCOD','boolean','default','Display the \"Your Checked-out Documents\" dashlet even when empty.','0',1),
... ... @@ -139,7 +120,8 @@ INSERT INTO `config_settings`(`id`,`group_name`,`item`,`type`,`value`,`helptext`
139 120 (15,'email','emailFrom','','kt@example.org','','kt@example.org',1),
140 121 (16,'email','emailFromName','','KnowledgeTree Document Management System','','KnowledgeTree Document Management System',1),
141 122 (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),
  123 +(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),
  124 +(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 125 (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 126 (21,'user_prefs','passwordLength','','6','Minimum password length on password-setting\r\n','6',1),
145 127 (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 +229,12 @@ UNLOCK TABLES;
247 229  
248 230 LOCK TABLES `data_types` WRITE;
249 231 /*!40000 ALTER TABLE `data_types` DISABLE KEYS */;
250   -INSERT INTO `data_types` VALUES (1,'STRING'),(2,'CHAR'),(3,'TEXT'),(4,'INT'),(5,'FLOAT');
  232 +INSERT INTO `data_types` VALUES
  233 +(1,'STRING'),
  234 +(2,'CHAR'),
  235 +(3,'TEXT'),
  236 +(4,'INT'),
  237 +(5,'FLOAT');
251 238 /*!40000 ALTER TABLE `data_types` ENABLE KEYS */;
252 239 UNLOCK TABLES;
253 240  
... ... @@ -293,7 +280,8 @@ UNLOCK TABLES;
293 280  
294 281 LOCK TABLES `document_fields` WRITE;
295 282 /*!40000 ALTER TABLE `document_fields` DISABLE KEYS */;
296   -INSERT INTO `document_fields` VALUES (2,'Tag','STRING',0,0,0,2,0,'Tag Words',0),
  283 +INSERT INTO `document_fields` VALUES
  284 +(2,'Tag','STRING',0,0,0,2,0,'Tag Words',0),
297 285 (3,'Document Author','STRING',0,0,0,3,0,'Please add a document author',0),
298 286 (4,'Category','STRING',0,1,0,3,0,'Please select a category',1),
299 287 (5,'Media Type','STRING',0,1,0,3,0,'Please select a media type',2);
... ... @@ -333,7 +321,12 @@ UNLOCK TABLES;
333 321  
334 322 LOCK TABLES `document_link_types` WRITE;
335 323 /*!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');
  324 +INSERT INTO `document_link_types` VALUES
  325 +(-1,'depended on','was depended on by','Depends relationship whereby one documents depends on another\'s creation to go through approval'),
  326 +(0,'Default','Default (reverse)','Default link type'),
  327 +(3,'Attachment','','Document Attachment'),
  328 +(4,'Reference','','Document Reference'),
  329 +(5,'Copy','','Document Copy');
337 330 /*!40000 ALTER TABLE `document_link_types` ENABLE KEYS */;
338 331 UNLOCK TABLES;
339 332  
... ... @@ -406,7 +399,28 @@ UNLOCK TABLES;
406 399  
407 400 LOCK TABLES `document_transaction_types_lookup` WRITE;
408 401 /*!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');
  402 +INSERT INTO `document_transaction_types_lookup` VALUES
  403 +(1,'Create','ktcore.transactions.create'),
  404 +(2,'Update','ktcore.transactions.update'),
  405 +(3,'Delete','ktcore.transactions.delete'),
  406 +(4,'Rename','ktcore.transactions.rename'),
  407 +(5,'Move','ktcore.transactions.move'),
  408 +(6,'Download','ktcore.transactions.download'),
  409 +(7,'Check In','ktcore.transactions.check_in'),
  410 +(8,'Check Out','ktcore.transactions.check_out'),
  411 +(9,'Collaboration Step Rollback','ktcore.transactions.collaboration_step_rollback'),
  412 +(10,'View','ktcore.transactions.view'),
  413 +(11,'Expunge','ktcore.transactions.expunge'),
  414 +(12,'Force CheckIn','ktcore.transactions.force_checkin'),
  415 +(13,'Email Link','ktcore.transactions.email_link'),
  416 +(14,'Collaboration Step Approve','ktcore.transactions.collaboration_step_approve'),
  417 +(15,'Email Attachment','ktcore.transactions.email_attachment'),
  418 +(16,'Workflow state transition','ktcore.transactions.workflow_state_transition'),
  419 +(17,'Permissions changed','ktcore.transactions.permissions_change'),
  420 +(18,'Role allocations changed','ktcore.transactions.role_allocations_change'),
  421 +(19,'Bulk Export','ktstandard.transactions.bulk_export'),
  422 +(20,'Copy','ktcore.transactions.copy'),
  423 +(21,'Delete Version','ktcore.transactions.delete_version');
410 424 /*!40000 ALTER TABLE `document_transaction_types_lookup` ENABLE KEYS */;
411 425 UNLOCK TABLES;
412 426  
... ... @@ -443,7 +457,8 @@ UNLOCK TABLES;
443 457  
444 458 LOCK TABLES `document_types_lookup` WRITE;
445 459 /*!40000 ALTER TABLE `document_types_lookup` DISABLE KEYS */;
446   -INSERT INTO `document_types_lookup` VALUES (1,'Default',0);
  460 +INSERT INTO `document_types_lookup` VALUES
  461 +(1,'Default',0);
447 462 /*!40000 ALTER TABLE `document_types_lookup` ENABLE KEYS */;
448 463 UNLOCK TABLES;
449 464  
... ... @@ -507,7 +522,9 @@ UNLOCK TABLES;
507 522  
508 523 LOCK TABLES `fieldsets` WRITE;
509 524 /*!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);
  525 +INSERT INTO `fieldsets` VALUES
  526 +(2,'Tag Cloud','tagcloud',0,0,NULL,1,0,0,0,'Tag Cloud',0),
  527 +(3,'General information','generalinformation',0,0,NULL,1,0,0,0,'General document information',0);
511 528 /*!40000 ALTER TABLE `fieldsets` ENABLE KEYS */;
512 529 UNLOCK TABLES;
513 530  
... ... @@ -526,7 +543,8 @@ UNLOCK TABLES;
526 543  
527 544 LOCK TABLES `folder_doctypes_link` WRITE;
528 545 /*!40000 ALTER TABLE `folder_doctypes_link` DISABLE KEYS */;
529   -INSERT INTO `folder_doctypes_link` VALUES (1,1,1);
  546 +INSERT INTO `folder_doctypes_link` VALUES
  547 +(1,1,1);
530 548 /*!40000 ALTER TABLE `folder_doctypes_link` ENABLE KEYS */;
531 549 UNLOCK TABLES;
532 550  
... ... @@ -536,7 +554,8 @@ UNLOCK TABLES;
536 554  
537 555 LOCK TABLES `folder_searchable_text` WRITE;
538 556 /*!40000 ALTER TABLE `folder_searchable_text` DISABLE KEYS */;
539   -INSERT INTO `folder_searchable_text` VALUES (1,'Root Folder');
  557 +INSERT INTO `folder_searchable_text` VALUES
  558 +(1,'Root Folder');
540 559 /*!40000 ALTER TABLE `folder_searchable_text` ENABLE KEYS */;
541 560 UNLOCK TABLES;
542 561  
... ... @@ -573,7 +592,8 @@ UNLOCK TABLES;
573 592  
574 593 LOCK TABLES `folders` WRITE;
575 594 /*!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);
  595 +INSERT INTO `folders` VALUES
  596 +(1,'Root Folder','Root Document Folder',NULL,1,0,NULL,NULL,1,5,0,1);
577 597 /*!40000 ALTER TABLE `folders` ENABLE KEYS */;
578 598 UNLOCK TABLES;
579 599  
... ... @@ -601,7 +621,8 @@ UNLOCK TABLES;
601 621  
602 622 LOCK TABLES `groups_lookup` WRITE;
603 623 /*!40000 ALTER TABLE `groups_lookup` DISABLE KEYS */;
604   -INSERT INTO `groups_lookup` VALUES (1,'System Administrators',1,0,NULL,NULL,NULL,NULL);
  624 +INSERT INTO `groups_lookup` VALUES
  625 +(1,'System Administrators',1,0,NULL,NULL,NULL,NULL);
605 626 /*!40000 ALTER TABLE `groups_lookup` ENABLE KEYS */;
606 627 UNLOCK TABLES;
607 628  
... ... @@ -611,7 +632,107 @@ UNLOCK TABLES;
611 632  
612 633 LOCK TABLES `help` WRITE;
613 634 /*!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');
  635 +INSERT INTO `help` VALUES
  636 +(1,'browse','dochelp.html'),
  637 +(2,'dashboard','dashboardHelp.html'),
  638 +(3,'addFolder','addFolderHelp.html'),
  639 +(4,'editFolder','editFolderHelp.html'),
  640 +(5,'addFolderCollaboration','addFolderCollaborationHelp.html'),
  641 +(6,'modifyFolderCollaboration','addFolderCollaborationHelp.html'),
  642 +(7,'addDocument','addDocumentHelp.html'),
  643 +(8,'viewDocument','viewDocumentHelp.html'),
  644 +(9,'modifyDocument','modifyDocumentHelp.html'),
  645 +(10,'modifyDocumentRouting','modifyDocumentRoutingHelp.html'),
  646 +(11,'emailDocument','emailDocumentHelp.html'),
  647 +(12,'deleteDocument','deleteDocumentHelp.html'),
  648 +(13,'administration','administrationHelp.html'),
  649 +(14,'addGroup','addGroupHelp.html'),
  650 +(15,'editGroup','editGroupHelp.html'),
  651 +(16,'removeGroup','removeGroupHelp.html'),
  652 +(17,'assignGroupToUnit','assignGroupToUnitHelp.html'),
  653 +(18,'removeGroupFromUnit','removeGroupFromUnitHelp.html'),
  654 +(19,'addUnit','addUnitHelp.html'),
  655 +(20,'editUnit','editUnitHelp.html'),
  656 +(21,'removeUnit','removeUnitHelp.html'),
  657 +(22,'addOrg','addOrgHelp.html'),
  658 +(23,'editOrg','editOrgHelp.html'),
  659 +(24,'removeOrg','removeOrgHelp.html'),
  660 +(25,'addRole','addRoleHelp.html'),
  661 +(26,'editRole','editRoleHelp.html'),
  662 +(27,'removeRole','removeRoleHelp.html'),
  663 +(28,'addLink','addLinkHelp.html'),
  664 +(29,'addLinkSuccess','addLinkHelp.html'),
  665 +(30,'editLink','editLinkHelp.html'),
  666 +(31,'removeLink','removeLinkHelp.html'),
  667 +(32,'systemAdministration','systemAdministrationHelp.html'),
  668 +(33,'deleteFolder','deleteFolderHelp.html'),
  669 +(34,'editDocType','editDocTypeHelp.html'),
  670 +(35,'removeDocType','removeDocTypeHelp.html'),
  671 +(36,'addDocType','addDocTypeHelp.html'),
  672 +(37,'addDocTypeSuccess','addDocTypeHelp.html'),
  673 +(38,'manageSubscriptions','manageSubscriptionsHelp.html'),
  674 +(39,'addSubscription','addSubscriptionHelp.html'),
  675 +(40,'removeSubscription','removeSubscriptionHelp.html'),
  676 +(41,'preferences','preferencesHelp.html'),
  677 +(42,'editPrefsSuccess','preferencesHelp.html'),
  678 +(43,'modifyDocumentGenericMetaData','modifyDocumentGenericMetaDataHelp.html'),
  679 +(44,'viewHistory','viewHistoryHelp.html'),
  680 +(45,'checkInDocument','checkInDocumentHelp.html'),
  681 +(46,'checkOutDocument','checkOutDocumentHelp.html'),
  682 +(47,'advancedSearch','advancedSearchHelp.html'),
  683 +(48,'deleteFolderCollaboration','deleteFolderCollaborationHelp.html'),
  684 +(49,'addFolderDocType','addFolderDocTypeHelp.html'),
  685 +(50,'deleteFolderDocType','deleteFolderDocTypeHelp.html'),
  686 +(51,'addGroupFolderLink','addGroupFolderLinkHelp.html'),
  687 +(52,'deleteGroupFolderLink','deleteGroupFolderLinkHelp.html'),
  688 +(53,'addWebsite','addWebsiteHelp.html'),
  689 +(54,'addWebsiteSuccess','addWebsiteHelp.html'),
  690 +(55,'editWebsite','editWebsiteHelp.html'),
  691 +(56,'removeWebSite','removeWebSiteHelp.html'),
  692 +(57,'standardSearch','standardSearchHelp.html'),
  693 +(58,'modifyDocumentTypeMetaData','modifyDocumentTypeMetaDataHelp.html'),
  694 +(59,'addDocField','addDocFieldHelp.html'),
  695 +(60,'editDocField','editDocFieldHelp.html'),
  696 +(61,'removeDocField','removeDocFieldHelp.html'),
  697 +(62,'addMetaData','addMetaDataHelp.html'),
  698 +(63,'editMetaData','editMetaDataHelp.html'),
  699 +(64,'removeMetaData','removeMetaDataHelp.html'),
  700 +(65,'addUser','addUserHelp.html'),
  701 +(66,'editUser','editUserHelp.html'),
  702 +(67,'removeUser','removeUserHelp.html'),
  703 +(68,'addUserToGroup','addUserToGroupHelp.html'),
  704 +(69,'removeUserFromGroup','removeUserFromGroupHelp.html'),
  705 +(70,'viewDiscussion','viewDiscussionThread.html'),
  706 +(71,'addComment','addDiscussionComment.html'),
  707 +(72,'listNews','listDashboardNewsHelp.html'),
  708 +(73,'editNews','editDashboardNewsHelp.html'),
  709 +(74,'previewNews','previewDashboardNewsHelp.html'),
  710 +(75,'addNews','addDashboardNewsHelp.html'),
  711 +(76,'modifyDocumentArchiveSettings','modifyDocumentArchiveSettingsHelp.html'),
  712 +(77,'addDocumentArchiveSettings','addDocumentArchiveSettingsHelp.html'),
  713 +(78,'listDocFields','listDocumentFieldsAdmin.html'),
  714 +(79,'editDocFieldLookups','editDocFieldLookups.html'),
  715 +(80,'addMetaDataForField','addMetaDataForField.html'),
  716 +(81,'editMetaDataForField','editMetaDataForField.html'),
  717 +(82,'removeMetaDataFromField','removeMetaDataFromField.html'),
  718 +(83,'listDocs','listDocumentsCheckoutHelp.html'),
  719 +(84,'editDocCheckout','editDocCheckoutHelp.html'),
  720 +(85,'listDocTypes','listDocTypesHelp.html'),
  721 +(86,'editDocTypeFields','editDocFieldHelp.html'),
  722 +(87,'addDocTypeFieldsLink','addDocTypeFieldHelp.html'),
  723 +(88,'listGroups','listGroupsHelp.html'),
  724 +(89,'editGroupUnit','editGroupUnitHelp.html'),
  725 +(90,'listOrg','listOrgHelp.html'),
  726 +(91,'listRole','listRolesHelp.html'),
  727 +(92,'listUnits','listUnitHelp.html'),
  728 +(93,'editUnitOrg','editUnitOrgHelp.html'),
  729 +(94,'removeUnitFromOrg','removeUnitFromOrgHelp.html'),
  730 +(95,'addUnitToOrg','addUnitToOrgHelp.html'),
  731 +(96,'listUsers','listUsersHelp.html'),
  732 +(97,'editUserGroups','editUserGroupsHelp.html'),
  733 +(98,'listWebsites','listWebsitesHelp.html'),
  734 +(99,'loginDisclaimer','loginDisclaimer.html'),
  735 +(100,'pageDisclaimer','pageDisclaimer.html');
615 736 /*!40000 ALTER TABLE `help` ENABLE KEYS */;
616 737 UNLOCK TABLES;
617 738  
... ... @@ -657,7 +778,17 @@ UNLOCK TABLES;
657 778  
658 779 LOCK TABLES `metadata_lookup` WRITE;
659 780 /*!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);
  781 +INSERT INTO `metadata_lookup` VALUES
  782 +(2,4,'Technical',NULL,0,0),
  783 +(3,4,'Financial',NULL,0,0),
  784 +(4,4,'Legal',NULL,0,0),
  785 +(5,4,'Administrative',NULL,0,0),
  786 +(6,4,'Miscellaneous',NULL,0,0),
  787 +(7,4,'Sales',NULL,0,0),
  788 +(8,5,'Text',NULL,0,0),
  789 +(9,5,'Image',NULL,0,0),
  790 +(10,5,'Audio',NULL,0,0),
  791 +(11,5,'Video',NULL,0,0);
661 792 /*!40000 ALTER TABLE `metadata_lookup` ENABLE KEYS */;
662 793 UNLOCK TABLES;
663 794  
... ... @@ -866,16 +997,15 @@ INSERT INTO `mime_types` VALUES
866 997 (160,'csv','text/csv','excel','Comma delimited spreadsheet',NULL,NULL),
867 998 (161,'msi','application/x-msi','compressed','MSI Installer file',NULL,NULL),
868 999 (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   -
  1000 +(163,'docx','application/vnd.openxmlformats-officedocument.wordprocessingml.document','word','Word Document',NULL,NULL),
  1001 +(164,'dotx','application/vnd.openxmlformats-officedocument.wordprocessingml.template','word','Word Document',NULL,NULL),
  1002 +(165,'potx','application/vnd.openxmlformats-officedocument.presentationml.template','office','Powerpoint Presentation',NULL,NULL),
  1003 +(166,'ppsx','application/vnd.openxmlformats-officedocument.presentationml.slideshow','office','Powerpoint Presentation',NULL,NULL),
  1004 +(167,'pptx','application/vnd.openxmlformats-officedocument.presentationml.presentation','office','Powerpoint Presentation',NULL,NULL),
  1005 +(168,'xlsx','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','excel','Excel Spreadsheet',NULL,NULL),
  1006 +(169,'xltx','application/vnd.openxmlformats-officedocument.spreadsheetml.template','excel','Excel Spreadsheet',NULL,NULL),
  1007 +(170,'msg','application/vnd.ms-outlook','office','Outlook Item',NULL,NULL),
  1008 +(171,'db','application/db','','Misc DB file',NULL,NULL);
879 1009 /*!40000 ALTER TABLE `mime_types` ENABLE KEYS */;
880 1010 UNLOCK TABLES;
881 1011  
... ... @@ -903,7 +1033,8 @@ UNLOCK TABLES;
903 1033  
904 1034 LOCK TABLES `organisations_lookup` WRITE;
905 1035 /*!40000 ALTER TABLE `organisations_lookup` DISABLE KEYS */;
906   -INSERT INTO `organisations_lookup` VALUES (1,'Default Organisation');
  1036 +INSERT INTO `organisations_lookup` VALUES
  1037 +(1,'Default Organisation');
907 1038 /*!40000 ALTER TABLE `organisations_lookup` ENABLE KEYS */;
908 1039 UNLOCK TABLES;
909 1040  
... ... @@ -913,7 +1044,15 @@ UNLOCK TABLES;
913 1044  
914 1045 LOCK TABLES `permission_assignments` WRITE;
915 1046 /*!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);
  1047 +INSERT INTO `permission_assignments` VALUES
  1048 +(1,1,1,2),
  1049 +(2,2,1,2),
  1050 +(3,3,1,2),
  1051 +(4,4,1,2),
  1052 +(5,5,1,2),
  1053 +(6,6,1,2),
  1054 +(7,7,1,2),
  1055 +(8,8,1,2);
917 1056 /*!40000 ALTER TABLE `permission_assignments` ENABLE KEYS */;
918 1057 UNLOCK TABLES;
919 1058  
... ... @@ -923,7 +1062,8 @@ UNLOCK TABLES;
923 1062  
924 1063 LOCK TABLES `permission_descriptor_groups` WRITE;
925 1064 /*!40000 ALTER TABLE `permission_descriptor_groups` DISABLE KEYS */;
926   -INSERT INTO `permission_descriptor_groups` VALUES (2,1);
  1065 +INSERT INTO `permission_descriptor_groups` VALUES
  1066 +(2,1);
927 1067 /*!40000 ALTER TABLE `permission_descriptor_groups` ENABLE KEYS */;
928 1068 UNLOCK TABLES;
929 1069  
... ... @@ -951,7 +1091,9 @@ UNLOCK TABLES;
951 1091  
952 1092 LOCK TABLES `permission_descriptors` WRITE;
953 1093 /*!40000 ALTER TABLE `permission_descriptors` DISABLE KEYS */;
954   -INSERT INTO `permission_descriptors` VALUES (1,'d41d8cd98f00b204e9800998ecf8427e',''),(2,'a689e7c4dc953de8d93b1ed4843b2dfe','group(1)');
  1094 +INSERT INTO `permission_descriptors` VALUES
  1095 +(1,'d41d8cd98f00b204e9800998ecf8427e',''),
  1096 +(2,'a689e7c4dc953de8d93b1ed4843b2dfe','group(1)');
955 1097 /*!40000 ALTER TABLE `permission_descriptors` ENABLE KEYS */;
956 1098 UNLOCK TABLES;
957 1099  
... ... @@ -979,7 +1121,31 @@ UNLOCK TABLES;
979 1121  
980 1122 LOCK TABLES `permission_lookup_assignments` WRITE;
981 1123 /*!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);
  1124 +INSERT INTO `permission_lookup_assignments` VALUES
  1125 +(1,1,1,1),
  1126 +(2,2,1,1),
  1127 +(3,3,1,1),
  1128 +(4,1,2,2),
  1129 +(5,2,2,2),
  1130 +(6,3,2,2),
  1131 +(7,1,3,2),
  1132 +(8,2,3,2),
  1133 +(9,3,3,2),
  1134 +(10,4,3,2),
  1135 +(11,5,3,2),
  1136 +(12,1,4,2),
  1137 +(13,2,4,2),
  1138 +(14,3,4,2),
  1139 +(15,4,4,2),
  1140 +(16,5,4,2),
  1141 +(17,6,4,2),
  1142 +(18,1,5,2),
  1143 +(19,2,5,2),
  1144 +(20,3,5,2),
  1145 +(21,4,5,2),
  1146 +(22,5,5,2),
  1147 +(23,6,5,2),
  1148 +(24,7,5,2);
983 1149 /*!40000 ALTER TABLE `permission_lookup_assignments` ENABLE KEYS */;
984 1150 UNLOCK TABLES;
985 1151  
... ... @@ -989,7 +1155,12 @@ UNLOCK TABLES;
989 1155  
990 1156 LOCK TABLES `permission_lookups` WRITE;
991 1157 /*!40000 ALTER TABLE `permission_lookups` DISABLE KEYS */;
992   -INSERT INTO `permission_lookups` VALUES (1),(2),(3),(4),(5);
  1158 +INSERT INTO `permission_lookups` VALUES
  1159 +(1),
  1160 +(2),
  1161 +(3),
  1162 +(4),
  1163 +(5);
993 1164 /*!40000 ALTER TABLE `permission_lookups` ENABLE KEYS */;
994 1165 UNLOCK TABLES;
995 1166  
... ... @@ -999,7 +1170,8 @@ UNLOCK TABLES;
999 1170  
1000 1171 LOCK TABLES `permission_objects` WRITE;
1001 1172 /*!40000 ALTER TABLE `permission_objects` DISABLE KEYS */;
1002   -INSERT INTO `permission_objects` VALUES (1);
  1173 +INSERT INTO `permission_objects` VALUES
  1174 +(1);
1003 1175 /*!40000 ALTER TABLE `permission_objects` ENABLE KEYS */;
1004 1176 UNLOCK TABLES;
1005 1177  
... ... @@ -1009,11 +1181,28 @@ UNLOCK TABLES;
1009 1181  
1010 1182 LOCK TABLES `permissions` WRITE;
1011 1183 /*!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);
  1184 +INSERT INTO `permissions` VALUES
  1185 +(1,'ktcore.permissions.read','Read',1),
  1186 +(2,'ktcore.permissions.write','Write',1),
  1187 +(3,'ktcore.permissions.addFolder','Add Folder',1),
  1188 +(4,'ktcore.permissions.security','Manage security',1),
  1189 +(5,'ktcore.permissions.delete','Delete',1),
  1190 +(6,'ktcore.permissions.workflow','Manage workflow',1),
  1191 +(7,'ktcore.permissions.folder_details','Folder Details',1),
  1192 +(8,'ktcore.permissions.folder_rename','Rename Folder',1);
1013 1193 /*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
1014 1194 UNLOCK TABLES;
1015 1195  
1016 1196 --
  1197 +-- Dumping data for table `plugin_helper`
  1198 +--
  1199 +
  1200 +LOCK TABLES `plugin_helper` WRITE;
  1201 +/*!40000 ALTER TABLE `plugin_helper` DISABLE KEYS */;
  1202 +/*!40000 ALTER TABLE `plugin_helper` ENABLE KEYS */;
  1203 +UNLOCK TABLES;
  1204 +
  1205 +--
1017 1206 -- Dumping data for table `plugin_rss`
1018 1207 --
1019 1208  
... ... @@ -1029,27 +1218,27 @@ UNLOCK TABLES;
1029 1218 LOCK TABLES `plugins` WRITE;
1030 1219 /*!40000 ALTER TABLE `plugins` DISABLE KEYS */;
1031 1220 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);
  1221 +(1,'ktcore.tagcloud.plugin','plugins/tagcloud/TagCloudPlugin.php',0,0,NULL,0,'Tag Cloud Plugin',0),
  1222 +(2,'ktcore.rss.plugin','plugins/rssplugin/RSSPlugin.php',0,0,NULL,0,'RSS Plugin',0),
  1223 +(3,'ktcore.language.plugin','plugins/ktcore/KTCoreLanguagePlugin.php',0,0,NULL,0,'Core Language Support',-75),
  1224 +(4,'ktcore.plugin','plugins/ktcore/KTCorePlugin.php',0,0,NULL,0,'Core Application Functionality',-25),
  1225 +(5,'ktstandard.adminversion.plugin','plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php',0,0,NULL,0,'Admin Version Notifier',0),
  1226 +(6,'ktstandard.ldapauthentication.plugin','plugins/ktstandard/KTLDAPAuthenticationPlugin.php',0,0,NULL,0,'LDAP Authentication Plugin',0),
  1227 +(7,'ktstandard.pdf.plugin','plugins/ktstandard/PDFGeneratorPlugin.php',0,0,NULL,0,'PDF Generator Plugin',0),
  1228 +(8,'ktstandard.bulkexport.plugin','plugins/ktstandard/KTBulkExportPlugin.php',0,0,NULL,0,'Bulk Export Plugin',0),
  1229 +(9,'ktstandard.immutableaction.plugin','plugins/ktstandard/ImmutableActionPlugin.php',0,0,NULL,0,'Immutable action plugin',0),
  1230 +(10,'ktstandard.subscriptions.plugin','plugins/ktstandard/KTSubscriptions.php',0,0,NULL,0,'Subscription Plugin',0),
  1231 +(11,'ktstandard.discussion.plugin','plugins/ktstandard/KTDiscussion.php',0,0,NULL,0,'Document Discussions Plugin',0),
  1232 +(12,'ktstandard.email.plugin','plugins/ktstandard/KTEmail.php',0,0,NULL,0,'Email Plugin',0),
  1233 +(13,'ktstandard.indexer.plugin','plugins/ktstandard/KTIndexer.php',0,0,NULL,0,'Full-text Content Indexing',0),
  1234 +(14,'ktstandard.documentlinks.plugin','plugins/ktstandard/KTDocumentLinks.php',0,0,NULL,0,'Inter-document linking',0),
  1235 +(15,'ktstandard.workflowassociation.plugin','plugins/ktstandard/KTWorkflowAssociation.php',0,0,NULL,0,'Workflow Association Plugin',0),
  1236 +(16,'ktstandard.workflowassociation.documenttype.plugin','plugins/ktstandard/workflow/TypeAssociator.php',0,0,NULL,0,'Workflow allocation by document type',0),
  1237 +(17,'ktstandard.workflowassociation.folder.plugin','plugins/ktstandard/workflow/FolderAssociator.php',0,0,NULL,0,'Workflow allocation by location',0),
  1238 +(18,'ktstandard.disclaimers.plugin','plugins/ktstandard/KTDisclaimers.php',0,0,NULL,0,'Disclaimers Plugin',0),
  1239 +(19,'nbm.browseable.plugin','plugins/browseabledashlet/BrowseableDashletPlugin.php',0,0,NULL,0,'Orphaned Folders Plugin',0),
  1240 +(20,'ktstandard.ktwebdavdashlet.plugin','plugins/ktstandard/KTWebDAVDashletPlugin.php',0,0,NULL,0,'WebDAV Dashlet Plugin',0),
  1241 +(21,'ktcore.housekeeper.plugin','plugins/housekeeper/HouseKeeperPlugin.php',0,0,NULL,0,'Housekeeper',0);
1053 1242 /*!40000 ALTER TABLE `plugins` ENABLE KEYS */;
1054 1243 UNLOCK TABLES;
1055 1244  
... ... @@ -1068,7 +1257,13 @@ UNLOCK TABLES;
1068 1257  
1069 1258 LOCK TABLES `roles` WRITE;
1070 1259 /*!40000 ALTER TABLE `roles` DISABLE KEYS */;
1071   -INSERT INTO `roles` VALUES (-4,'Authenticated Users'),(4,'Creator'),(-3,'Everyone'),(-2,'Owner'),(2,'Publisher'),(3,'Reviewer');
  1260 +INSERT INTO `roles` VALUES
  1261 +(-4,'Authenticated Users'),
  1262 +(4,'Creator'),
  1263 +(-3,'Everyone'),
  1264 +(-2,'Owner'),
  1265 +(2,'Publisher'),
  1266 +(3,'Reviewer');
1072 1267 /*!40000 ALTER TABLE `roles` ENABLE KEYS */;
1073 1268 UNLOCK TABLES;
1074 1269  
... ... @@ -1088,17 +1283,17 @@ UNLOCK TABLES;
1088 1283 LOCK TABLES `scheduler_tasks` WRITE;
1089 1284 /*!40000 ALTER TABLE `scheduler_tasks` DISABLE KEYS */;
1090 1285 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');
  1286 +(1,'Indexing','search2/bin/cronIndexer.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'system'),
  1287 +(2,'Index Migration','search2/bin/cronMigration.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'system'),
  1288 +(3,'Index Optimization','search2/bin/cronOptimize.php','',0,'weekly','2007-10-01 00:00:00',NULL,0,'system'),
  1289 +(4,'Periodic Document Expunge','bin/expungeall.php','',0,'weekly','2007-10-01 00:00:00',NULL,0,'disabled'),
  1290 +(5,'Database Maintenance','bin/dbmaint.php','optimize',0,'monthly','2007-10-01 00:00:00',NULL,0,'disabled'),
  1291 +(6,'Open Office test','bin/checkopenoffice.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'enabled'),
  1292 +(7,'Cleanup Temporary Directory','search2/bin/cronCleanup.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'enabled'),
  1293 +(8,'Disk Usage and Folder Utilisation Statistics','plugins/housekeeper/bin/UpdateStats.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'enabled'),
  1294 +(9,'Check Latest Version','plugins/ktstandard/AdminVersionPlugin/bin/UpdateNewVersion.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled'),
  1295 +(10,'Refresh Index Statistics','search2/bin/cronIndexStats.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled'),
  1296 +(11,'Refresh Resource Dependancies','search2/bin/cronResources.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled');
1102 1297 /*!40000 ALTER TABLE `scheduler_tasks` ENABLE KEYS */;
1103 1298 UNLOCK TABLES;
1104 1299  
... ... @@ -1117,7 +1312,25 @@ UNLOCK TABLES;
1117 1312  
1118 1313 LOCK TABLES `search_ranking` WRITE;
1119 1314 /*!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');
  1315 +INSERT INTO `search_ranking` VALUES
  1316 +('Discussion','',150,'S'),
  1317 +('documents','checked_out_user_id',1,'T'),
  1318 +('documents','created',1,'T'),
  1319 +('documents','creator_id',1,'T'),
  1320 +('documents','id',1,'T'),
  1321 +('documents','immutable',1,'T'),
  1322 +('documents','is_checked_out',1,'T'),
  1323 +('documents','modified',1,'T'),
  1324 +('documents','modified_user_id',1,'T'),
  1325 +('documents','title',300,'T'),
  1326 +('DocumentText','',100,'S'),
  1327 +('document_content_version','filename',10,'T'),
  1328 +('document_content_version','filesize',1,'T'),
  1329 +('document_metadata_version','document_type_id',1,'T'),
  1330 +('document_metadata_version','name',1,'T'),
  1331 +('document_metadata_version','workflow_id',1,'T'),
  1332 +('document_metadata_version','workflow_state_id',1,'T'),
  1333 +('tag_words','tag',1,'T');
1121 1334 /*!40000 ALTER TABLE `search_ranking` ENABLE KEYS */;
1122 1335 UNLOCK TABLES;
1123 1336  
... ... @@ -1145,7 +1358,13 @@ UNLOCK TABLES;
1145 1358  
1146 1359 LOCK TABLES `status_lookup` WRITE;
1147 1360 /*!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');
  1361 +INSERT INTO `status_lookup` VALUES
  1362 +(1,'Live'),
  1363 +(2,'Published'),
  1364 +(3,'Deleted'),
  1365 +(4,'Archived'),
  1366 +(5,'Incomplete'),
  1367 +(6,'Version Deleted');
1149 1368 /*!40000 ALTER TABLE `status_lookup` ENABLE KEYS */;
1150 1369 UNLOCK TABLES;
1151 1370  
... ... @@ -1155,7 +1374,10 @@ UNLOCK TABLES;
1155 1374  
1156 1375 LOCK TABLES `system_settings` WRITE;
1157 1376 /*!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');
  1377 +INSERT INTO `system_settings` VALUES
  1378 +(1,'lastIndexUpdate','0'),
  1379 +(2,'knowledgeTreeVersion','3.5.2'),
  1380 +(3,'databaseVersion','3.5.2');
1159 1381 /*!40000 ALTER TABLE `system_settings` ENABLE KEYS */;
1160 1382 UNLOCK TABLES;
1161 1383  
... ... @@ -1183,7 +1405,10 @@ UNLOCK TABLES;
1183 1405  
1184 1406 LOCK TABLES `time_unit_lookup` WRITE;
1185 1407 /*!40000 ALTER TABLE `time_unit_lookup` DISABLE KEYS */;
1186   -INSERT INTO `time_unit_lookup` VALUES (1,'Years'),(2,'Months'),(3,'Days');
  1408 +INSERT INTO `time_unit_lookup` VALUES
  1409 +(1,'Years'),
  1410 +(2,'Months'),
  1411 +(3,'Days');
1187 1412 /*!40000 ALTER TABLE `time_unit_lookup` ENABLE KEYS */;
1188 1413 UNLOCK TABLES;
1189 1414  
... ... @@ -1229,7 +1454,141 @@ UNLOCK TABLES;
1229 1454  
1230 1455 LOCK TABLES `upgrades` WRITE;
1231 1456 /*!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'),
  1457 +INSERT INTO `upgrades` VALUES
  1458 +(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'),
  1459 +(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'),
  1460 +(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'),
  1461 +(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'),
  1462 +(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'),
  1463 +(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'),
  1464 +(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'),
  1465 +(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'),
  1466 +(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'),
  1467 +(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'),
  1468 +(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'),
  1469 +(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'),
  1470 +(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'),
  1471 +(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'),
  1472 +(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'),
  1473 +(16,'sql*2.0.9*0*2.0.9/storagemanager.sql','','0000-00-00 00:00:00',1,NULL),
  1474 +(17,'sql*2.0.9*0*2.0.9/metadata_tree.sql','','0000-00-00 00:00:00',1,NULL),
  1475 +(18,'sql*2.0.9*0*2.0.9/document_incomplete.sql','','0000-00-00 00:00:00',1,NULL),
  1476 +(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'),
  1477 +(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'),
  1478 +(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'),
  1479 +(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'),
  1480 +(24,'sql*2.99.2*0*2.99.2/saved_searches.sql','','0000-00-00 00:00:00',1,NULL),
  1481 +(25,'sql*2.99.2*0*2.99.2/transactions.sql','','0000-00-00 00:00:00',1,NULL),
  1482 +(26,'sql*2.99.2*0*2.99.2/field_mandatory.sql','','0000-00-00 00:00:00',1,NULL),
  1483 +(27,'sql*2.99.2*0*2.99.2/fieldsets_system.sql','','0000-00-00 00:00:00',1,NULL),
  1484 +(28,'sql*2.99.2*0*2.99.2/permission_by_user_and_roles.sql','','0000-00-00 00:00:00',1,NULL),
  1485 +(29,'sql*2.99.2*0*2.99.2/disabled_metadata.sql','','0000-00-00 00:00:00',1,NULL),
  1486 +(30,'sql*2.99.2*0*2.99.2/searchable_text.sql','','0000-00-00 00:00:00',1,NULL),
  1487 +(31,'sql*2.99.2*0*2.99.2/workflow.sql','','0000-00-00 00:00:00',1,NULL),
  1488 +(32,'sql*2.99.2*1*2.99.2/1-constraints.sql','','0000-00-00 00:00:00',1,NULL),
  1489 +(33,'sql*2.99.3*0*2.99.3/notifications.sql','','0000-00-00 00:00:00',1,NULL),
  1490 +(34,'sql*2.99.3*0*2.99.3/last_modified_user.sql','','0000-00-00 00:00:00',1,NULL),
  1491 +(35,'sql*2.99.3*0*2.99.3/authentication_sources.sql','','0000-00-00 00:00:00',1,NULL),
  1492 +(36,'sql*2.99.3*0*2.99.3/document_fields_constraints.sql','','0000-00-00 00:00:00',1,NULL),
  1493 +(37,'sql*2.99.5*0*2.99.5/dashlet_disabling.sql','','0000-00-00 00:00:00',1,NULL),
  1494 +(38,'sql*2.99.5*0*2.99.5/role_allocations.sql','','0000-00-00 00:00:00',1,NULL),
  1495 +(39,'sql*2.99.5*0*2.99.5/transaction_namespaces.sql','','0000-00-00 00:00:00',1,NULL),
  1496 +(40,'sql*2.99.5*0*2.99.5/fieldset_field_descriptions.sql','','0000-00-00 00:00:00',1,NULL),
  1497 +(41,'sql*2.99.5*0*2.99.5/role_changes.sql','','0000-00-00 00:00:00',1,NULL),
  1498 +(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'),
  1499 +(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'),
  1500 +(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'),
  1501 +(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'),
  1502 +(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'),
  1503 +(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'),
  1504 +(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'),
  1505 +(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'),
  1506 +(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'),
  1507 +(51,'sql*2.99.7*0*2.99.7/discussion.sql','','0000-00-00 00:00:00',1,NULL),
  1508 +(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'),
  1509 +(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'),
  1510 +(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'),
  1511 +(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'),
  1512 +(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'),
  1513 +(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'),
  1514 +(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'),
  1515 +(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'),
  1516 +(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'),
  1517 +(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'),
  1518 +(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'),
  1519 +(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'),
  1520 +(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'),
  1521 +(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'),
  1522 +(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'),
  1523 +(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'),
  1524 +(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'),
  1525 +(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'),
  1526 +(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'),
  1527 +(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'),
  1528 +(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'),
  1529 +(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'),
  1530 +(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'),
  1531 +(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'),
  1532 +(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'),
  1533 +(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'),
  1534 +(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'),
  1535 +(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'),
  1536 +(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'),
  1537 +(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'),
  1538 +(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'),
  1539 +(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'),
  1540 +(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'),
  1541 +(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'),
  1542 +(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'),
  1543 +(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'),
  1544 +(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'),
  1545 +(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'),
  1546 +(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'),
  1547 +(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'),
  1548 +(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'),
  1549 +(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'),
  1550 +(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'),
  1551 +(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'),
  1552 +(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'),
  1553 +(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'),
  1554 +(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'),
  1555 +(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'),
  1556 +(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'),
  1557 +(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'),
  1558 +(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'),
  1559 +(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'),
  1560 +(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'),
  1561 +(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'),
  1562 +(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'),
  1563 +(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'),
  1564 +(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'),
  1565 +(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'),
  1566 +(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'),
  1567 +(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'),
  1568 +(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'),
  1569 +(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'),
  1570 +(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'),
  1571 +(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'),
  1572 +(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'),
  1573 +(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'),
  1574 +(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'),
  1575 +(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'),
  1576 +(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'),
  1577 +(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'),
  1578 +(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'),
  1579 +(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'),
  1580 +(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'),
  1581 +(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'),
  1582 +(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'),
  1583 +(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'),
  1584 +(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'),
  1585 +(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'),
  1586 +(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'),
  1587 +(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'),
  1588 +(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'),
  1589 +(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'),
  1590 +(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'),
  1591 +(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 1592 (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 1593 (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 1594 (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 +1665,9 @@ UNLOCK TABLES;
1306 1665  
1307 1666 LOCK TABLES `users` WRITE;
1308 1667 /*!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);
  1668 +INSERT INTO `users` VALUES
  1669 +(-2,'anonymous','Anonymous','---------------',0,0,NULL,NULL,0,0,NULL,30000,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0),
  1670 +(1,'admin','Administrator','21232f297a57a5a743894a0e4a801fc3',0,0,'','',1,1,'',1,1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);
1310 1671 /*!40000 ALTER TABLE `users` ENABLE KEYS */;
1311 1672 UNLOCK TABLES;
1312 1673  
... ... @@ -1316,7 +1677,8 @@ UNLOCK TABLES;
1316 1677  
1317 1678 LOCK TABLES `users_groups_link` WRITE;
1318 1679 /*!40000 ALTER TABLE `users_groups_link` DISABLE KEYS */;
1319   -INSERT INTO `users_groups_link` VALUES (1,1,1);
  1680 +INSERT INTO `users_groups_link` VALUES
  1681 +(1,1,1);
1320 1682 /*!40000 ALTER TABLE `users_groups_link` ENABLE KEYS */;
1321 1683 UNLOCK TABLES;
1322 1684  
... ... @@ -1371,7 +1733,12 @@ UNLOCK TABLES;
1371 1733  
1372 1734 LOCK TABLES `workflow_state_transitions` WRITE;
1373 1735 /*!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);
  1736 +INSERT INTO `workflow_state_transitions` VALUES
  1737 +(2,2),
  1738 +(3,3),
  1739 +(3,4),
  1740 +(5,5),
  1741 +(6,6);
1375 1742 /*!40000 ALTER TABLE `workflow_state_transitions` ENABLE KEYS */;
1376 1743 UNLOCK TABLES;
1377 1744  
... ... @@ -1381,7 +1748,13 @@ UNLOCK TABLES;
1381 1748  
1382 1749 LOCK TABLES `workflow_states` WRITE;
1383 1750 /*!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);
  1751 +INSERT INTO `workflow_states` VALUES
  1752 +(2,2,'Draft','Draft',NULL,0,0),
  1753 +(3,2,'Approval','Approval',NULL,0,0),
  1754 +(4,2,'Published','Published',NULL,0,0),
  1755 +(5,3,'Draft','Draft',NULL,0,0),
  1756 +(6,3,'Final','Final',NULL,0,0),
  1757 +(7,3,'Published','Published',NULL,0,0);
1385 1758 /*!40000 ALTER TABLE `workflow_states` ENABLE KEYS */;
1386 1759 UNLOCK TABLES;
1387 1760  
... ... @@ -1391,7 +1764,12 @@ UNLOCK TABLES;
1391 1764  
1392 1765 LOCK TABLES `workflow_transitions` WRITE;
1393 1766 /*!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);
  1767 +INSERT INTO `workflow_transitions` VALUES
  1768 +(2,2,'Request Approval','Request Approval',3,NULL,NULL,NULL,NULL),
  1769 +(3,2,'Reject','Reject',2,NULL,NULL,NULL,NULL),
  1770 +(4,2,'Approve','Approve',4,NULL,NULL,NULL,NULL),
  1771 +(5,3,'Draft Completed','Draft Completed',6,NULL,NULL,NULL,NULL),
  1772 +(6,3,'Publish','Publish',7,NULL,NULL,NULL,NULL);
1395 1773 /*!40000 ALTER TABLE `workflow_transitions` ENABLE KEYS */;
1396 1774 UNLOCK TABLES;
1397 1775  
... ... @@ -1410,7 +1788,9 @@ UNLOCK TABLES;
1410 1788  
1411 1789 LOCK TABLES `workflows` WRITE;
1412 1790 /*!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);
  1791 +INSERT INTO `workflows` VALUES
  1792 +(2,'Review Process','Review Process',2,1),
  1793 +(3,'Generate Document','Generate Document',5,1);
1414 1794 /*!40000 ALTER TABLE `workflows` ENABLE KEYS */;
1415 1795 UNLOCK TABLES;
1416 1796  
... ... @@ -1420,7 +1800,8 @@ UNLOCK TABLES;
1420 1800  
1421 1801 LOCK TABLES `zseq_active_sessions` WRITE;
1422 1802 /*!40000 ALTER TABLE `zseq_active_sessions` DISABLE KEYS */;
1423   -INSERT INTO `zseq_active_sessions` VALUES (1);
  1803 +INSERT INTO `zseq_active_sessions` VALUES
  1804 +(1);
1424 1805 /*!40000 ALTER TABLE `zseq_active_sessions` ENABLE KEYS */;
1425 1806 UNLOCK TABLES;
1426 1807  
... ... @@ -1430,7 +1811,8 @@ UNLOCK TABLES;
1430 1811  
1431 1812 LOCK TABLES `zseq_archive_restoration_request` WRITE;
1432 1813 /*!40000 ALTER TABLE `zseq_archive_restoration_request` DISABLE KEYS */;
1433   -INSERT INTO `zseq_archive_restoration_request` VALUES (1);
  1814 +INSERT INTO `zseq_archive_restoration_request` VALUES
  1815 +(1);
1434 1816 /*!40000 ALTER TABLE `zseq_archive_restoration_request` ENABLE KEYS */;
1435 1817 UNLOCK TABLES;
1436 1818  
... ... @@ -1440,7 +1822,8 @@ UNLOCK TABLES;
1440 1822  
1441 1823 LOCK TABLES `zseq_archiving_settings` WRITE;
1442 1824 /*!40000 ALTER TABLE `zseq_archiving_settings` DISABLE KEYS */;
1443   -INSERT INTO `zseq_archiving_settings` VALUES (1);
  1825 +INSERT INTO `zseq_archiving_settings` VALUES
  1826 +(1);
1444 1827 /*!40000 ALTER TABLE `zseq_archiving_settings` ENABLE KEYS */;
1445 1828 UNLOCK TABLES;
1446 1829  
... ... @@ -1450,7 +1833,8 @@ UNLOCK TABLES;
1450 1833  
1451 1834 LOCK TABLES `zseq_archiving_type_lookup` WRITE;
1452 1835 /*!40000 ALTER TABLE `zseq_archiving_type_lookup` DISABLE KEYS */;
1453   -INSERT INTO `zseq_archiving_type_lookup` VALUES (2);
  1836 +INSERT INTO `zseq_archiving_type_lookup` VALUES
  1837 +(2);
1454 1838 /*!40000 ALTER TABLE `zseq_archiving_type_lookup` ENABLE KEYS */;
1455 1839 UNLOCK TABLES;
1456 1840  
... ... @@ -1460,7 +1844,8 @@ UNLOCK TABLES;
1460 1844  
1461 1845 LOCK TABLES `zseq_authentication_sources` WRITE;
1462 1846 /*!40000 ALTER TABLE `zseq_authentication_sources` DISABLE KEYS */;
1463   -INSERT INTO `zseq_authentication_sources` VALUES (1);
  1847 +INSERT INTO `zseq_authentication_sources` VALUES
  1848 +(1);
1464 1849 /*!40000 ALTER TABLE `zseq_authentication_sources` ENABLE KEYS */;
1465 1850 UNLOCK TABLES;
1466 1851  
... ... @@ -1470,17 +1855,28 @@ UNLOCK TABLES;
1470 1855  
1471 1856 LOCK TABLES `zseq_column_entries` WRITE;
1472 1857 /*!40000 ALTER TABLE `zseq_column_entries` DISABLE KEYS */;
1473   -INSERT INTO `zseq_column_entries` VALUES (14);
  1858 +INSERT INTO `zseq_column_entries` VALUES
  1859 +(14);
1474 1860 /*!40000 ALTER TABLE `zseq_column_entries` ENABLE KEYS */;
1475 1861 UNLOCK TABLES;
1476 1862  
1477 1863 --
  1864 +-- Dumping data for table `zseq_config_settings`
  1865 +--
  1866 +
  1867 +LOCK TABLES `zseq_config_settings` WRITE;
  1868 +/*!40000 ALTER TABLE `zseq_config_settings` DISABLE KEYS */;
  1869 +/*!40000 ALTER TABLE `zseq_config_settings` ENABLE KEYS */;
  1870 +UNLOCK TABLES;
  1871 +
  1872 +--
1478 1873 -- Dumping data for table `zseq_dashlet_disables`
1479 1874 --
1480 1875  
1481 1876 LOCK TABLES `zseq_dashlet_disables` WRITE;
1482 1877 /*!40000 ALTER TABLE `zseq_dashlet_disables` DISABLE KEYS */;
1483   -INSERT INTO `zseq_dashlet_disables` VALUES (1);
  1878 +INSERT INTO `zseq_dashlet_disables` VALUES
  1879 +(1);
1484 1880 /*!40000 ALTER TABLE `zseq_dashlet_disables` ENABLE KEYS */;
1485 1881 UNLOCK TABLES;
1486 1882  
... ... @@ -1490,7 +1886,8 @@ UNLOCK TABLES;
1490 1886  
1491 1887 LOCK TABLES `zseq_data_types` WRITE;
1492 1888 /*!40000 ALTER TABLE `zseq_data_types` DISABLE KEYS */;
1493   -INSERT INTO `zseq_data_types` VALUES (5);
  1889 +INSERT INTO `zseq_data_types` VALUES
  1890 +(5);
1494 1891 /*!40000 ALTER TABLE `zseq_data_types` ENABLE KEYS */;
1495 1892 UNLOCK TABLES;
1496 1893  
... ... @@ -1500,7 +1897,8 @@ UNLOCK TABLES;
1500 1897  
1501 1898 LOCK TABLES `zseq_discussion_comments` WRITE;
1502 1899 /*!40000 ALTER TABLE `zseq_discussion_comments` DISABLE KEYS */;
1503   -INSERT INTO `zseq_discussion_comments` VALUES (1);
  1900 +INSERT INTO `zseq_discussion_comments` VALUES
  1901 +(1);
1504 1902 /*!40000 ALTER TABLE `zseq_discussion_comments` ENABLE KEYS */;
1505 1903 UNLOCK TABLES;
1506 1904  
... ... @@ -1510,7 +1908,8 @@ UNLOCK TABLES;
1510 1908  
1511 1909 LOCK TABLES `zseq_discussion_threads` WRITE;
1512 1910 /*!40000 ALTER TABLE `zseq_discussion_threads` DISABLE KEYS */;
1513   -INSERT INTO `zseq_discussion_threads` VALUES (1);
  1911 +INSERT INTO `zseq_discussion_threads` VALUES
  1912 +(1);
1514 1913 /*!40000 ALTER TABLE `zseq_discussion_threads` ENABLE KEYS */;
1515 1914 UNLOCK TABLES;
1516 1915  
... ... @@ -1520,7 +1919,8 @@ UNLOCK TABLES;
1520 1919  
1521 1920 LOCK TABLES `zseq_document_archiving_link` WRITE;
1522 1921 /*!40000 ALTER TABLE `zseq_document_archiving_link` DISABLE KEYS */;
1523   -INSERT INTO `zseq_document_archiving_link` VALUES (1);
  1922 +INSERT INTO `zseq_document_archiving_link` VALUES
  1923 +(1);
1524 1924 /*!40000 ALTER TABLE `zseq_document_archiving_link` ENABLE KEYS */;
1525 1925 UNLOCK TABLES;
1526 1926  
... ... @@ -1530,7 +1930,8 @@ UNLOCK TABLES;
1530 1930  
1531 1931 LOCK TABLES `zseq_document_content_version` WRITE;
1532 1932 /*!40000 ALTER TABLE `zseq_document_content_version` DISABLE KEYS */;
1533   -INSERT INTO `zseq_document_content_version` VALUES (1);
  1933 +INSERT INTO `zseq_document_content_version` VALUES
  1934 +(1);
1534 1935 /*!40000 ALTER TABLE `zseq_document_content_version` ENABLE KEYS */;
1535 1936 UNLOCK TABLES;
1536 1937  
... ... @@ -1540,7 +1941,8 @@ UNLOCK TABLES;
1540 1941  
1541 1942 LOCK TABLES `zseq_document_fields` WRITE;
1542 1943 /*!40000 ALTER TABLE `zseq_document_fields` DISABLE KEYS */;
1543   -INSERT INTO `zseq_document_fields` VALUES (5);
  1944 +INSERT INTO `zseq_document_fields` VALUES
  1945 +(5);
1544 1946 /*!40000 ALTER TABLE `zseq_document_fields` ENABLE KEYS */;
1545 1947 UNLOCK TABLES;
1546 1948  
... ... @@ -1550,7 +1952,8 @@ UNLOCK TABLES;
1550 1952  
1551 1953 LOCK TABLES `zseq_document_fields_link` WRITE;
1552 1954 /*!40000 ALTER TABLE `zseq_document_fields_link` DISABLE KEYS */;
1553   -INSERT INTO `zseq_document_fields_link` VALUES (1);
  1955 +INSERT INTO `zseq_document_fields_link` VALUES
  1956 +(1);
1554 1957 /*!40000 ALTER TABLE `zseq_document_fields_link` ENABLE KEYS */;
1555 1958 UNLOCK TABLES;
1556 1959  
... ... @@ -1560,7 +1963,8 @@ UNLOCK TABLES;
1560 1963  
1561 1964 LOCK TABLES `zseq_document_link` WRITE;
1562 1965 /*!40000 ALTER TABLE `zseq_document_link` DISABLE KEYS */;
1563   -INSERT INTO `zseq_document_link` VALUES (1);
  1966 +INSERT INTO `zseq_document_link` VALUES
  1967 +(1);
1564 1968 /*!40000 ALTER TABLE `zseq_document_link` ENABLE KEYS */;
1565 1969 UNLOCK TABLES;
1566 1970  
... ... @@ -1570,7 +1974,8 @@ UNLOCK TABLES;
1570 1974  
1571 1975 LOCK TABLES `zseq_document_link_types` WRITE;
1572 1976 /*!40000 ALTER TABLE `zseq_document_link_types` DISABLE KEYS */;
1573   -INSERT INTO `zseq_document_link_types` VALUES (5);
  1977 +INSERT INTO `zseq_document_link_types` VALUES
  1978 +(5);
1574 1979 /*!40000 ALTER TABLE `zseq_document_link_types` ENABLE KEYS */;
1575 1980 UNLOCK TABLES;
1576 1981  
... ... @@ -1580,7 +1985,8 @@ UNLOCK TABLES;
1580 1985  
1581 1986 LOCK TABLES `zseq_document_metadata_version` WRITE;
1582 1987 /*!40000 ALTER TABLE `zseq_document_metadata_version` DISABLE KEYS */;
1583   -INSERT INTO `zseq_document_metadata_version` VALUES (1);
  1988 +INSERT INTO `zseq_document_metadata_version` VALUES
  1989 +(1);
1584 1990 /*!40000 ALTER TABLE `zseq_document_metadata_version` ENABLE KEYS */;
1585 1991 UNLOCK TABLES;
1586 1992  
... ... @@ -1599,7 +2005,8 @@ UNLOCK TABLES;
1599 2005  
1600 2006 LOCK TABLES `zseq_document_subscriptions` WRITE;
1601 2007 /*!40000 ALTER TABLE `zseq_document_subscriptions` DISABLE KEYS */;
1602   -INSERT INTO `zseq_document_subscriptions` VALUES (1);
  2008 +INSERT INTO `zseq_document_subscriptions` VALUES
  2009 +(1);
1603 2010 /*!40000 ALTER TABLE `zseq_document_subscriptions` ENABLE KEYS */;
1604 2011 UNLOCK TABLES;
1605 2012  
... ... @@ -1609,7 +2016,8 @@ UNLOCK TABLES;
1609 2016  
1610 2017 LOCK TABLES `zseq_document_tags` WRITE;
1611 2018 /*!40000 ALTER TABLE `zseq_document_tags` DISABLE KEYS */;
1612   -INSERT INTO `zseq_document_tags` VALUES (1);
  2019 +INSERT INTO `zseq_document_tags` VALUES
  2020 +(1);
1613 2021 /*!40000 ALTER TABLE `zseq_document_tags` ENABLE KEYS */;
1614 2022 UNLOCK TABLES;
1615 2023  
... ... @@ -1619,7 +2027,8 @@ UNLOCK TABLES;
1619 2027  
1620 2028 LOCK TABLES `zseq_document_transaction_types_lookup` WRITE;
1621 2029 /*!40000 ALTER TABLE `zseq_document_transaction_types_lookup` DISABLE KEYS */;
1622   -INSERT INTO `zseq_document_transaction_types_lookup` VALUES (21);
  2030 +INSERT INTO `zseq_document_transaction_types_lookup` VALUES
  2031 +(21);
1623 2032 /*!40000 ALTER TABLE `zseq_document_transaction_types_lookup` ENABLE KEYS */;
1624 2033 UNLOCK TABLES;
1625 2034  
... ... @@ -1629,7 +2038,8 @@ UNLOCK TABLES;
1629 2038  
1630 2039 LOCK TABLES `zseq_document_transactions` WRITE;
1631 2040 /*!40000 ALTER TABLE `zseq_document_transactions` DISABLE KEYS */;
1632   -INSERT INTO `zseq_document_transactions` VALUES (1);
  2041 +INSERT INTO `zseq_document_transactions` VALUES
  2042 +(1);
1633 2043 /*!40000 ALTER TABLE `zseq_document_transactions` ENABLE KEYS */;
1634 2044 UNLOCK TABLES;
1635 2045  
... ... @@ -1639,7 +2049,8 @@ UNLOCK TABLES;
1639 2049  
1640 2050 LOCK TABLES `zseq_document_type_fields_link` WRITE;
1641 2051 /*!40000 ALTER TABLE `zseq_document_type_fields_link` DISABLE KEYS */;
1642   -INSERT INTO `zseq_document_type_fields_link` VALUES (1);
  2052 +INSERT INTO `zseq_document_type_fields_link` VALUES
  2053 +(1);
1643 2054 /*!40000 ALTER TABLE `zseq_document_type_fields_link` ENABLE KEYS */;
1644 2055 UNLOCK TABLES;
1645 2056  
... ... @@ -1649,7 +2060,8 @@ UNLOCK TABLES;
1649 2060  
1650 2061 LOCK TABLES `zseq_document_type_fieldsets_link` WRITE;
1651 2062 /*!40000 ALTER TABLE `zseq_document_type_fieldsets_link` DISABLE KEYS */;
1652   -INSERT INTO `zseq_document_type_fieldsets_link` VALUES (1);
  2063 +INSERT INTO `zseq_document_type_fieldsets_link` VALUES
  2064 +(1);
1653 2065 /*!40000 ALTER TABLE `zseq_document_type_fieldsets_link` ENABLE KEYS */;
1654 2066 UNLOCK TABLES;
1655 2067  
... ... @@ -1659,7 +2071,8 @@ UNLOCK TABLES;
1659 2071  
1660 2072 LOCK TABLES `zseq_document_types_lookup` WRITE;
1661 2073 /*!40000 ALTER TABLE `zseq_document_types_lookup` DISABLE KEYS */;
1662   -INSERT INTO `zseq_document_types_lookup` VALUES (1);
  2074 +INSERT INTO `zseq_document_types_lookup` VALUES
  2075 +(1);
1663 2076 /*!40000 ALTER TABLE `zseq_document_types_lookup` ENABLE KEYS */;
1664 2077 UNLOCK TABLES;
1665 2078  
... ... @@ -1669,7 +2082,8 @@ UNLOCK TABLES;
1669 2082  
1670 2083 LOCK TABLES `zseq_documents` WRITE;
1671 2084 /*!40000 ALTER TABLE `zseq_documents` DISABLE KEYS */;
1672   -INSERT INTO `zseq_documents` VALUES (1);
  2085 +INSERT INTO `zseq_documents` VALUES
  2086 +(1);
1673 2087 /*!40000 ALTER TABLE `zseq_documents` ENABLE KEYS */;
1674 2088 UNLOCK TABLES;
1675 2089  
... ... @@ -1679,7 +2093,8 @@ UNLOCK TABLES;
1679 2093  
1680 2094 LOCK TABLES `zseq_field_behaviours` WRITE;
1681 2095 /*!40000 ALTER TABLE `zseq_field_behaviours` DISABLE KEYS */;
1682   -INSERT INTO `zseq_field_behaviours` VALUES (1);
  2096 +INSERT INTO `zseq_field_behaviours` VALUES
  2097 +(1);
1683 2098 /*!40000 ALTER TABLE `zseq_field_behaviours` ENABLE KEYS */;
1684 2099 UNLOCK TABLES;
1685 2100  
... ... @@ -1689,7 +2104,8 @@ UNLOCK TABLES;
1689 2104  
1690 2105 LOCK TABLES `zseq_field_value_instances` WRITE;
1691 2106 /*!40000 ALTER TABLE `zseq_field_value_instances` DISABLE KEYS */;
1692   -INSERT INTO `zseq_field_value_instances` VALUES (1);
  2107 +INSERT INTO `zseq_field_value_instances` VALUES
  2108 +(1);
1693 2109 /*!40000 ALTER TABLE `zseq_field_value_instances` ENABLE KEYS */;
1694 2110 UNLOCK TABLES;
1695 2111  
... ... @@ -1699,7 +2115,8 @@ UNLOCK TABLES;
1699 2115  
1700 2116 LOCK TABLES `zseq_fieldsets` WRITE;
1701 2117 /*!40000 ALTER TABLE `zseq_fieldsets` DISABLE KEYS */;
1702   -INSERT INTO `zseq_fieldsets` VALUES (3);
  2118 +INSERT INTO `zseq_fieldsets` VALUES
  2119 +(3);
1703 2120 /*!40000 ALTER TABLE `zseq_fieldsets` ENABLE KEYS */;
1704 2121 UNLOCK TABLES;
1705 2122  
... ... @@ -1709,7 +2126,8 @@ UNLOCK TABLES;
1709 2126  
1710 2127 LOCK TABLES `zseq_folder_doctypes_link` WRITE;
1711 2128 /*!40000 ALTER TABLE `zseq_folder_doctypes_link` DISABLE KEYS */;
1712   -INSERT INTO `zseq_folder_doctypes_link` VALUES (2);
  2129 +INSERT INTO `zseq_folder_doctypes_link` VALUES
  2130 +(2);
1713 2131 /*!40000 ALTER TABLE `zseq_folder_doctypes_link` ENABLE KEYS */;
1714 2132 UNLOCK TABLES;
1715 2133  
... ... @@ -1719,7 +2137,8 @@ UNLOCK TABLES;
1719 2137  
1720 2138 LOCK TABLES `zseq_folder_subscriptions` WRITE;
1721 2139 /*!40000 ALTER TABLE `zseq_folder_subscriptions` DISABLE KEYS */;
1722   -INSERT INTO `zseq_folder_subscriptions` VALUES (1);
  2140 +INSERT INTO `zseq_folder_subscriptions` VALUES
  2141 +(1);
1723 2142 /*!40000 ALTER TABLE `zseq_folder_subscriptions` ENABLE KEYS */;
1724 2143 UNLOCK TABLES;
1725 2144  
... ... @@ -1738,7 +2157,8 @@ UNLOCK TABLES;
1738 2157  
1739 2158 LOCK TABLES `zseq_folders` WRITE;
1740 2159 /*!40000 ALTER TABLE `zseq_folders` DISABLE KEYS */;
1741   -INSERT INTO `zseq_folders` VALUES (2);
  2160 +INSERT INTO `zseq_folders` VALUES
  2161 +(2);
1742 2162 /*!40000 ALTER TABLE `zseq_folders` ENABLE KEYS */;
1743 2163 UNLOCK TABLES;
1744 2164  
... ... @@ -1748,7 +2168,8 @@ UNLOCK TABLES;
1748 2168  
1749 2169 LOCK TABLES `zseq_folders_users_roles_link` WRITE;
1750 2170 /*!40000 ALTER TABLE `zseq_folders_users_roles_link` DISABLE KEYS */;
1751   -INSERT INTO `zseq_folders_users_roles_link` VALUES (1);
  2171 +INSERT INTO `zseq_folders_users_roles_link` VALUES
  2172 +(1);
1752 2173 /*!40000 ALTER TABLE `zseq_folders_users_roles_link` ENABLE KEYS */;
1753 2174 UNLOCK TABLES;
1754 2175  
... ... @@ -1758,7 +2179,8 @@ UNLOCK TABLES;
1758 2179  
1759 2180 LOCK TABLES `zseq_groups_groups_link` WRITE;
1760 2181 /*!40000 ALTER TABLE `zseq_groups_groups_link` DISABLE KEYS */;
1761   -INSERT INTO `zseq_groups_groups_link` VALUES (1);
  2182 +INSERT INTO `zseq_groups_groups_link` VALUES
  2183 +(1);
1762 2184 /*!40000 ALTER TABLE `zseq_groups_groups_link` ENABLE KEYS */;
1763 2185 UNLOCK TABLES;
1764 2186  
... ... @@ -1768,7 +2190,8 @@ UNLOCK TABLES;
1768 2190  
1769 2191 LOCK TABLES `zseq_groups_lookup` WRITE;
1770 2192 /*!40000 ALTER TABLE `zseq_groups_lookup` DISABLE KEYS */;
1771   -INSERT INTO `zseq_groups_lookup` VALUES (3);
  2193 +INSERT INTO `zseq_groups_lookup` VALUES
  2194 +(3);
1772 2195 /*!40000 ALTER TABLE `zseq_groups_lookup` ENABLE KEYS */;
1773 2196 UNLOCK TABLES;
1774 2197  
... ... @@ -1778,7 +2201,8 @@ UNLOCK TABLES;
1778 2201  
1779 2202 LOCK TABLES `zseq_help` WRITE;
1780 2203 /*!40000 ALTER TABLE `zseq_help` DISABLE KEYS */;
1781   -INSERT INTO `zseq_help` VALUES (100);
  2204 +INSERT INTO `zseq_help` VALUES
  2205 +(100);
1782 2206 /*!40000 ALTER TABLE `zseq_help` ENABLE KEYS */;
1783 2207 UNLOCK TABLES;
1784 2208  
... ... @@ -1788,7 +2212,8 @@ UNLOCK TABLES;
1788 2212  
1789 2213 LOCK TABLES `zseq_help_replacement` WRITE;
1790 2214 /*!40000 ALTER TABLE `zseq_help_replacement` DISABLE KEYS */;
1791   -INSERT INTO `zseq_help_replacement` VALUES (1);
  2215 +INSERT INTO `zseq_help_replacement` VALUES
  2216 +(1);
1792 2217 /*!40000 ALTER TABLE `zseq_help_replacement` ENABLE KEYS */;
1793 2218 UNLOCK TABLES;
1794 2219  
... ... @@ -1807,7 +2232,8 @@ UNLOCK TABLES;
1807 2232  
1808 2233 LOCK TABLES `zseq_links` WRITE;
1809 2234 /*!40000 ALTER TABLE `zseq_links` DISABLE KEYS */;
1810   -INSERT INTO `zseq_links` VALUES (1);
  2235 +INSERT INTO `zseq_links` VALUES
  2236 +(1);
1811 2237 /*!40000 ALTER TABLE `zseq_links` ENABLE KEYS */;
1812 2238 UNLOCK TABLES;
1813 2239  
... ... @@ -1817,7 +2243,8 @@ UNLOCK TABLES;
1817 2243  
1818 2244 LOCK TABLES `zseq_metadata_lookup` WRITE;
1819 2245 /*!40000 ALTER TABLE `zseq_metadata_lookup` DISABLE KEYS */;
1820   -INSERT INTO `zseq_metadata_lookup` VALUES (11);
  2246 +INSERT INTO `zseq_metadata_lookup` VALUES
  2247 +(11);
1821 2248 /*!40000 ALTER TABLE `zseq_metadata_lookup` ENABLE KEYS */;
1822 2249 UNLOCK TABLES;
1823 2250  
... ... @@ -1827,7 +2254,8 @@ UNLOCK TABLES;
1827 2254  
1828 2255 LOCK TABLES `zseq_metadata_lookup_tree` WRITE;
1829 2256 /*!40000 ALTER TABLE `zseq_metadata_lookup_tree` DISABLE KEYS */;
1830   -INSERT INTO `zseq_metadata_lookup_tree` VALUES (1);
  2257 +INSERT INTO `zseq_metadata_lookup_tree` VALUES
  2258 +(1);
1831 2259 /*!40000 ALTER TABLE `zseq_metadata_lookup_tree` ENABLE KEYS */;
1832 2260 UNLOCK TABLES;
1833 2261  
... ... @@ -1846,7 +2274,8 @@ UNLOCK TABLES;
1846 2274  
1847 2275 LOCK TABLES `zseq_mime_extractors` WRITE;
1848 2276 /*!40000 ALTER TABLE `zseq_mime_extractors` DISABLE KEYS */;
1849   -INSERT INTO `zseq_mime_extractors` VALUES (1);
  2277 +INSERT INTO `zseq_mime_extractors` VALUES
  2278 +(1);
1850 2279 /*!40000 ALTER TABLE `zseq_mime_extractors` ENABLE KEYS */;
1851 2280 UNLOCK TABLES;
1852 2281  
... ... @@ -1856,7 +2285,8 @@ UNLOCK TABLES;
1856 2285  
1857 2286 LOCK TABLES `zseq_mime_types` WRITE;
1858 2287 /*!40000 ALTER TABLE `zseq_mime_types` DISABLE KEYS */;
1859   -INSERT INTO `zseq_mime_types` VALUES (171);
  2288 +INSERT INTO `zseq_mime_types` VALUES
  2289 +(171);
1860 2290 /*!40000 ALTER TABLE `zseq_mime_types` ENABLE KEYS */;
1861 2291 UNLOCK TABLES;
1862 2292  
... ... @@ -1866,7 +2296,8 @@ UNLOCK TABLES;
1866 2296  
1867 2297 LOCK TABLES `zseq_news` WRITE;
1868 2298 /*!40000 ALTER TABLE `zseq_news` DISABLE KEYS */;
1869   -INSERT INTO `zseq_news` VALUES (1);
  2299 +INSERT INTO `zseq_news` VALUES
  2300 +(1);
1870 2301 /*!40000 ALTER TABLE `zseq_news` ENABLE KEYS */;
1871 2302 UNLOCK TABLES;
1872 2303  
... ... @@ -1876,7 +2307,8 @@ UNLOCK TABLES;
1876 2307  
1877 2308 LOCK TABLES `zseq_notifications` WRITE;
1878 2309 /*!40000 ALTER TABLE `zseq_notifications` DISABLE KEYS */;
1879   -INSERT INTO `zseq_notifications` VALUES (1);
  2310 +INSERT INTO `zseq_notifications` VALUES
  2311 +(1);
1880 2312 /*!40000 ALTER TABLE `zseq_notifications` ENABLE KEYS */;
1881 2313 UNLOCK TABLES;
1882 2314  
... ... @@ -1886,7 +2318,8 @@ UNLOCK TABLES;
1886 2318  
1887 2319 LOCK TABLES `zseq_organisations_lookup` WRITE;
1888 2320 /*!40000 ALTER TABLE `zseq_organisations_lookup` DISABLE KEYS */;
1889   -INSERT INTO `zseq_organisations_lookup` VALUES (1);
  2321 +INSERT INTO `zseq_organisations_lookup` VALUES
  2322 +(1);
1890 2323 /*!40000 ALTER TABLE `zseq_organisations_lookup` ENABLE KEYS */;
1891 2324 UNLOCK TABLES;
1892 2325  
... ... @@ -1896,7 +2329,8 @@ UNLOCK TABLES;
1896 2329  
1897 2330 LOCK TABLES `zseq_permission_assignments` WRITE;
1898 2331 /*!40000 ALTER TABLE `zseq_permission_assignments` DISABLE KEYS */;
1899   -INSERT INTO `zseq_permission_assignments` VALUES (8);
  2332 +INSERT INTO `zseq_permission_assignments` VALUES
  2333 +(8);
1900 2334 /*!40000 ALTER TABLE `zseq_permission_assignments` ENABLE KEYS */;
1901 2335 UNLOCK TABLES;
1902 2336  
... ... @@ -1906,7 +2340,8 @@ UNLOCK TABLES;
1906 2340  
1907 2341 LOCK TABLES `zseq_permission_descriptors` WRITE;
1908 2342 /*!40000 ALTER TABLE `zseq_permission_descriptors` DISABLE KEYS */;
1909   -INSERT INTO `zseq_permission_descriptors` VALUES (2);
  2343 +INSERT INTO `zseq_permission_descriptors` VALUES
  2344 +(2);
1910 2345 /*!40000 ALTER TABLE `zseq_permission_descriptors` ENABLE KEYS */;
1911 2346 UNLOCK TABLES;
1912 2347  
... ... @@ -1916,7 +2351,8 @@ UNLOCK TABLES;
1916 2351  
1917 2352 LOCK TABLES `zseq_permission_dynamic_conditions` WRITE;
1918 2353 /*!40000 ALTER TABLE `zseq_permission_dynamic_conditions` DISABLE KEYS */;
1919   -INSERT INTO `zseq_permission_dynamic_conditions` VALUES (1);
  2354 +INSERT INTO `zseq_permission_dynamic_conditions` VALUES
  2355 +(1);
1920 2356 /*!40000 ALTER TABLE `zseq_permission_dynamic_conditions` ENABLE KEYS */;
1921 2357 UNLOCK TABLES;
1922 2358  
... ... @@ -1926,7 +2362,8 @@ UNLOCK TABLES;
1926 2362  
1927 2363 LOCK TABLES `zseq_permission_lookup_assignments` WRITE;
1928 2364 /*!40000 ALTER TABLE `zseq_permission_lookup_assignments` DISABLE KEYS */;
1929   -INSERT INTO `zseq_permission_lookup_assignments` VALUES (24);
  2365 +INSERT INTO `zseq_permission_lookup_assignments` VALUES
  2366 +(24);
1930 2367 /*!40000 ALTER TABLE `zseq_permission_lookup_assignments` ENABLE KEYS */;
1931 2368 UNLOCK TABLES;
1932 2369  
... ... @@ -1936,7 +2373,8 @@ UNLOCK TABLES;
1936 2373  
1937 2374 LOCK TABLES `zseq_permission_lookups` WRITE;
1938 2375 /*!40000 ALTER TABLE `zseq_permission_lookups` DISABLE KEYS */;
1939   -INSERT INTO `zseq_permission_lookups` VALUES (5);
  2376 +INSERT INTO `zseq_permission_lookups` VALUES
  2377 +(5);
1940 2378 /*!40000 ALTER TABLE `zseq_permission_lookups` ENABLE KEYS */;
1941 2379 UNLOCK TABLES;
1942 2380  
... ... @@ -1946,7 +2384,8 @@ UNLOCK TABLES;
1946 2384  
1947 2385 LOCK TABLES `zseq_permission_objects` WRITE;
1948 2386 /*!40000 ALTER TABLE `zseq_permission_objects` DISABLE KEYS */;
1949   -INSERT INTO `zseq_permission_objects` VALUES (1);
  2387 +INSERT INTO `zseq_permission_objects` VALUES
  2388 +(1);
1950 2389 /*!40000 ALTER TABLE `zseq_permission_objects` ENABLE KEYS */;
1951 2390 UNLOCK TABLES;
1952 2391  
... ... @@ -1956,17 +2395,28 @@ UNLOCK TABLES;
1956 2395  
1957 2396 LOCK TABLES `zseq_permissions` WRITE;
1958 2397 /*!40000 ALTER TABLE `zseq_permissions` DISABLE KEYS */;
1959   -INSERT INTO `zseq_permissions` VALUES (8);
  2398 +INSERT INTO `zseq_permissions` VALUES
  2399 +(8);
1960 2400 /*!40000 ALTER TABLE `zseq_permissions` ENABLE KEYS */;
1961 2401 UNLOCK TABLES;
1962 2402  
1963 2403 --
  2404 +-- Dumping data for table `zseq_plugin_helper`
  2405 +--
  2406 +
  2407 +LOCK TABLES `zseq_plugin_helper` WRITE;
  2408 +/*!40000 ALTER TABLE `zseq_plugin_helper` DISABLE KEYS */;
  2409 +/*!40000 ALTER TABLE `zseq_plugin_helper` ENABLE KEYS */;
  2410 +UNLOCK TABLES;
  2411 +
  2412 +--
1964 2413 -- Dumping data for table `zseq_plugin_rss`
1965 2414 --
1966 2415  
1967 2416 LOCK TABLES `zseq_plugin_rss` WRITE;
1968 2417 /*!40000 ALTER TABLE `zseq_plugin_rss` DISABLE KEYS */;
1969   -INSERT INTO `zseq_plugin_rss` VALUES (1);
  2418 +INSERT INTO `zseq_plugin_rss` VALUES
  2419 +(1);
1970 2420 /*!40000 ALTER TABLE `zseq_plugin_rss` ENABLE KEYS */;
1971 2421 UNLOCK TABLES;
1972 2422  
... ... @@ -1976,7 +2426,8 @@ UNLOCK TABLES;
1976 2426  
1977 2427 LOCK TABLES `zseq_plugins` WRITE;
1978 2428 /*!40000 ALTER TABLE `zseq_plugins` DISABLE KEYS */;
1979   -INSERT INTO `zseq_plugins` VALUES (21);
  2429 +INSERT INTO `zseq_plugins` VALUES
  2430 +(21);
1980 2431 /*!40000 ALTER TABLE `zseq_plugins` ENABLE KEYS */;
1981 2432 UNLOCK TABLES;
1982 2433  
... ... @@ -1986,7 +2437,8 @@ UNLOCK TABLES;
1986 2437  
1987 2438 LOCK TABLES `zseq_role_allocations` WRITE;
1988 2439 /*!40000 ALTER TABLE `zseq_role_allocations` DISABLE KEYS */;
1989   -INSERT INTO `zseq_role_allocations` VALUES (1);
  2440 +INSERT INTO `zseq_role_allocations` VALUES
  2441 +(1);
1990 2442 /*!40000 ALTER TABLE `zseq_role_allocations` ENABLE KEYS */;
1991 2443 UNLOCK TABLES;
1992 2444  
... ... @@ -1996,7 +2448,8 @@ UNLOCK TABLES;
1996 2448  
1997 2449 LOCK TABLES `zseq_roles` WRITE;
1998 2450 /*!40000 ALTER TABLE `zseq_roles` DISABLE KEYS */;
1999   -INSERT INTO `zseq_roles` VALUES (4);
  2451 +INSERT INTO `zseq_roles` VALUES
  2452 +(4);
2000 2453 /*!40000 ALTER TABLE `zseq_roles` ENABLE KEYS */;
2001 2454 UNLOCK TABLES;
2002 2455  
... ... @@ -2006,7 +2459,8 @@ UNLOCK TABLES;
2006 2459  
2007 2460 LOCK TABLES `zseq_saved_searches` WRITE;
2008 2461 /*!40000 ALTER TABLE `zseq_saved_searches` DISABLE KEYS */;
2009   -INSERT INTO `zseq_saved_searches` VALUES (1);
  2462 +INSERT INTO `zseq_saved_searches` VALUES
  2463 +(1);
2010 2464 /*!40000 ALTER TABLE `zseq_saved_searches` ENABLE KEYS */;
2011 2465 UNLOCK TABLES;
2012 2466  
... ... @@ -2016,7 +2470,8 @@ UNLOCK TABLES;
2016 2470  
2017 2471 LOCK TABLES `zseq_scheduler_tasks` WRITE;
2018 2472 /*!40000 ALTER TABLE `zseq_scheduler_tasks` DISABLE KEYS */;
2019   -INSERT INTO `zseq_scheduler_tasks` VALUES (11);
  2473 +INSERT INTO `zseq_scheduler_tasks` VALUES
  2474 +(11);
2020 2475 /*!40000 ALTER TABLE `zseq_scheduler_tasks` ENABLE KEYS */;
2021 2476 UNLOCK TABLES;
2022 2477  
... ... @@ -2035,7 +2490,8 @@ UNLOCK TABLES;
2035 2490  
2036 2491 LOCK TABLES `zseq_status_lookup` WRITE;
2037 2492 /*!40000 ALTER TABLE `zseq_status_lookup` DISABLE KEYS */;
2038   -INSERT INTO `zseq_status_lookup` VALUES (6);
  2493 +INSERT INTO `zseq_status_lookup` VALUES
  2494 +(6);
2039 2495 /*!40000 ALTER TABLE `zseq_status_lookup` ENABLE KEYS */;
2040 2496 UNLOCK TABLES;
2041 2497  
... ... @@ -2045,7 +2501,8 @@ UNLOCK TABLES;
2045 2501  
2046 2502 LOCK TABLES `zseq_system_settings` WRITE;
2047 2503 /*!40000 ALTER TABLE `zseq_system_settings` DISABLE KEYS */;
2048   -INSERT INTO `zseq_system_settings` VALUES (3);
  2504 +INSERT INTO `zseq_system_settings` VALUES
  2505 +(3);
2049 2506 /*!40000 ALTER TABLE `zseq_system_settings` ENABLE KEYS */;
2050 2507 UNLOCK TABLES;
2051 2508  
... ... @@ -2055,7 +2512,8 @@ UNLOCK TABLES;
2055 2512  
2056 2513 LOCK TABLES `zseq_tag_words` WRITE;
2057 2514 /*!40000 ALTER TABLE `zseq_tag_words` DISABLE KEYS */;
2058   -INSERT INTO `zseq_tag_words` VALUES (1);
  2515 +INSERT INTO `zseq_tag_words` VALUES
  2516 +(1);
2059 2517 /*!40000 ALTER TABLE `zseq_tag_words` ENABLE KEYS */;
2060 2518 UNLOCK TABLES;
2061 2519  
... ... @@ -2065,7 +2523,8 @@ UNLOCK TABLES;
2065 2523  
2066 2524 LOCK TABLES `zseq_time_period` WRITE;
2067 2525 /*!40000 ALTER TABLE `zseq_time_period` DISABLE KEYS */;
2068   -INSERT INTO `zseq_time_period` VALUES (1);
  2526 +INSERT INTO `zseq_time_period` VALUES
  2527 +(1);
2069 2528 /*!40000 ALTER TABLE `zseq_time_period` ENABLE KEYS */;
2070 2529 UNLOCK TABLES;
2071 2530  
... ... @@ -2075,7 +2534,8 @@ UNLOCK TABLES;
2075 2534  
2076 2535 LOCK TABLES `zseq_time_unit_lookup` WRITE;
2077 2536 /*!40000 ALTER TABLE `zseq_time_unit_lookup` DISABLE KEYS */;
2078   -INSERT INTO `zseq_time_unit_lookup` VALUES (3);
  2537 +INSERT INTO `zseq_time_unit_lookup` VALUES
  2538 +(3);
2079 2539 /*!40000 ALTER TABLE `zseq_time_unit_lookup` ENABLE KEYS */;
2080 2540 UNLOCK TABLES;
2081 2541  
... ... @@ -2085,7 +2545,8 @@ UNLOCK TABLES;
2085 2545  
2086 2546 LOCK TABLES `zseq_units_lookup` WRITE;
2087 2547 /*!40000 ALTER TABLE `zseq_units_lookup` DISABLE KEYS */;
2088   -INSERT INTO `zseq_units_lookup` VALUES (1);
  2548 +INSERT INTO `zseq_units_lookup` VALUES
  2549 +(1);
2089 2550 /*!40000 ALTER TABLE `zseq_units_lookup` ENABLE KEYS */;
2090 2551 UNLOCK TABLES;
2091 2552  
... ... @@ -2095,7 +2556,8 @@ UNLOCK TABLES;
2095 2556  
2096 2557 LOCK TABLES `zseq_units_organisations_link` WRITE;
2097 2558 /*!40000 ALTER TABLE `zseq_units_organisations_link` DISABLE KEYS */;
2098   -INSERT INTO `zseq_units_organisations_link` VALUES (1);
  2559 +INSERT INTO `zseq_units_organisations_link` VALUES
  2560 +(1);
2099 2561 /*!40000 ALTER TABLE `zseq_units_organisations_link` ENABLE KEYS */;
2100 2562 UNLOCK TABLES;
2101 2563  
... ... @@ -2105,7 +2567,8 @@ UNLOCK TABLES;
2105 2567  
2106 2568 LOCK TABLES `zseq_upgrades` WRITE;
2107 2569 /*!40000 ALTER TABLE `zseq_upgrades` DISABLE KEYS */;
2108   -INSERT INTO `zseq_upgrades` VALUES (184);
  2570 +INSERT INTO `zseq_upgrades` VALUES
  2571 +(184);
2109 2572 /*!40000 ALTER TABLE `zseq_upgrades` ENABLE KEYS */;
2110 2573 UNLOCK TABLES;
2111 2574  
... ... @@ -2124,7 +2587,8 @@ UNLOCK TABLES;
2124 2587  
2125 2588 LOCK TABLES `zseq_users` WRITE;
2126 2589 /*!40000 ALTER TABLE `zseq_users` DISABLE KEYS */;
2127   -INSERT INTO `zseq_users` VALUES (3);
  2590 +INSERT INTO `zseq_users` VALUES
  2591 +(3);
2128 2592 /*!40000 ALTER TABLE `zseq_users` ENABLE KEYS */;
2129 2593 UNLOCK TABLES;
2130 2594  
... ... @@ -2134,7 +2598,8 @@ UNLOCK TABLES;
2134 2598  
2135 2599 LOCK TABLES `zseq_users_groups_link` WRITE;
2136 2600 /*!40000 ALTER TABLE `zseq_users_groups_link` DISABLE KEYS */;
2137   -INSERT INTO `zseq_users_groups_link` VALUES (3);
  2601 +INSERT INTO `zseq_users_groups_link` VALUES
  2602 +(3);
2138 2603 /*!40000 ALTER TABLE `zseq_users_groups_link` ENABLE KEYS */;
2139 2604 UNLOCK TABLES;
2140 2605  
... ... @@ -2162,7 +2627,8 @@ UNLOCK TABLES;
2162 2627  
2163 2628 LOCK TABLES `zseq_workflow_states` WRITE;
2164 2629 /*!40000 ALTER TABLE `zseq_workflow_states` DISABLE KEYS */;
2165   -INSERT INTO `zseq_workflow_states` VALUES (7);
  2630 +INSERT INTO `zseq_workflow_states` VALUES
  2631 +(7);
2166 2632 /*!40000 ALTER TABLE `zseq_workflow_states` ENABLE KEYS */;
2167 2633 UNLOCK TABLES;
2168 2634  
... ... @@ -2172,7 +2638,8 @@ UNLOCK TABLES;
2172 2638  
2173 2639 LOCK TABLES `zseq_workflow_transitions` WRITE;
2174 2640 /*!40000 ALTER TABLE `zseq_workflow_transitions` DISABLE KEYS */;
2175   -INSERT INTO `zseq_workflow_transitions` VALUES (6);
  2641 +INSERT INTO `zseq_workflow_transitions` VALUES
  2642 +(6);
2176 2643 /*!40000 ALTER TABLE `zseq_workflow_transitions` ENABLE KEYS */;
2177 2644 UNLOCK TABLES;
2178 2645  
... ... @@ -2191,7 +2658,8 @@ UNLOCK TABLES;
2191 2658  
2192 2659 LOCK TABLES `zseq_workflows` WRITE;
2193 2660 /*!40000 ALTER TABLE `zseq_workflows` DISABLE KEYS */;
2194   -INSERT INTO `zseq_workflows` VALUES (3);
  2661 +INSERT INTO `zseq_workflows` VALUES
  2662 +(3);
2195 2663 /*!40000 ALTER TABLE `zseq_workflows` ENABLE KEYS */;
2196 2664 UNLOCK TABLES;
2197 2665 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
... ... @@ -2204,4 +2672,4 @@ UNLOCK TABLES;
2204 2672 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
2205 2673 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2206 2674  
2207   --- Dump completed on 2007-10-23 13:43:26
  2675 +-- 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
1   ---
2   --- $Id$
3   ---
4   --- KnowledgeTree Community Edition
5   --- Document Management Made Simple
6   --- Copyright (C) 2008 KnowledgeTree Inc.
7   --- Portions copyright The Jam Warehouse Software (Pty) Limited
8   ---
9   --- This program is free software; you can redistribute it and/or modify it under
10   --- the terms of the GNU General Public License version 3 as published by the
11   --- Free Software Foundation.
12   ---
13   --- This program is distributed in the hope that it will be useful, but WITHOUT
14   --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15   --- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
16   --- details.
17   ---
18   --- You should have received a copy of the GNU General Public License
19   ---
20   --- You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco,
21   --- California 94120-7775, or email info@knowledgetree.com.
22   ---
23   --- The interactive user interfaces in modified source and object code versions
24   --- of this program must display Appropriate Legal Notices, as required under
25   --- Section 5 of the GNU General Public License version 3.
26   ---
27   --- In accordance with Section 7(b) of the GNU General Public License version 3,
28   --- these Appropriate Legal Notices must retain the display of the "Powered by
29   --- KnowledgeTree" logo and retain the original copyright notice. If the display of the
30   --- logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices
31   --- must display the words "Powered by KnowledgeTree" and retain the original
32   --- copyright notice.
33   --- Contributor( s): ______________________________________
34   ---
35 1 -- MySQL dump 10.11
36 2 --
37 3 -- Host: localhost Database: ktdms
... ... @@ -55,7 +20,7 @@
55 20 --
56 21  
57 22 CREATE TABLE `active_sessions` (
58   - `id` int(11) NOT NULL default '0',
  23 + `id` int(11) NOT NULL auto_increment,
59 24 `user_id` int(11) default NULL,
60 25 `session_id` char(255) default NULL,
61 26 `lastused` datetime default NULL,
... ... @@ -71,7 +36,7 @@ CREATE TABLE `active_sessions` (
71 36 --
72 37  
73 38 CREATE TABLE `archive_restoration_request` (
74   - `id` int(11) NOT NULL default '0',
  39 + `id` int(11) NOT NULL auto_increment,
75 40 `document_id` int(11) NOT NULL default '0',
76 41 `request_user_id` int(11) NOT NULL default '0',
77 42 `admin_user_id` int(11) NOT NULL default '0',
... ... @@ -90,7 +55,7 @@ CREATE TABLE `archive_restoration_request` (
90 55 --
91 56  
92 57 CREATE TABLE `archiving_settings` (
93   - `id` int(11) NOT NULL default '0',
  58 + `id` int(11) NOT NULL auto_increment,
94 59 `archiving_type_id` int(11) NOT NULL default '0',
95 60 `expiration_date` date default NULL,
96 61 `document_transaction_id` int(11) default NULL,
... ... @@ -107,7 +72,7 @@ CREATE TABLE `archiving_settings` (
107 72 --
108 73  
109 74 CREATE TABLE `archiving_type_lookup` (
110   - `id` int(11) NOT NULL default '0',
  75 + `id` int(11) NOT NULL auto_increment,
111 76 `name` char(100) default NULL,
112 77 PRIMARY KEY (`id`)
113 78 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -117,7 +82,7 @@ CREATE TABLE `archiving_type_lookup` (
117 82 --
118 83  
119 84 CREATE TABLE `authentication_sources` (
120   - `id` int(11) NOT NULL default '0',
  85 + `id` int(11) NOT NULL auto_increment,
121 86 `name` varchar(50) NOT NULL default '',
122 87 `namespace` varchar(255) NOT NULL default '',
123 88 `authentication_provider` varchar(255) NOT NULL default '',
... ... @@ -133,7 +98,7 @@ CREATE TABLE `authentication_sources` (
133 98 --
134 99  
135 100 CREATE TABLE `column_entries` (
136   - `id` int(11) NOT NULL default '0',
  101 + `id` int(11) NOT NULL auto_increment,
137 102 `column_namespace` varchar(255) NOT NULL default '',
138 103 `view_namespace` varchar(255) NOT NULL default '',
139 104 `config_array` text NOT NULL,
... ... @@ -161,7 +126,7 @@ CREATE TABLE `comment_searchable_text` (
161 126 --
162 127  
163 128 CREATE TABLE `config_settings` (
164   - `id` int(255) unsigned NOT NULL,
  129 + `id` int(11) NOT NULL auto_increment,
165 130 `group_name` varchar(255) NOT NULL default '0',
166 131 `item` varchar(255) NOT NULL default '0',
167 132 `type` varchar(255) NOT NULL default '0',
... ... @@ -177,7 +142,7 @@ CREATE TABLE `config_settings` (
177 142 --
178 143  
179 144 CREATE TABLE `dashlet_disables` (
180   - `id` int(11) NOT NULL default '0',
  145 + `id` int(11) NOT NULL auto_increment,
181 146 `user_id` int(11) NOT NULL default '0',
182 147 `dashlet_namespace` varchar(255) NOT NULL default '',
183 148 PRIMARY KEY (`id`),
... ... @@ -191,7 +156,7 @@ CREATE TABLE `dashlet_disables` (
191 156 --
192 157  
193 158 CREATE TABLE `data_types` (
194   - `id` int(11) NOT NULL default '0',
  159 + `id` int(11) NOT NULL auto_increment,
195 160 `name` char(255) NOT NULL default '',
196 161 PRIMARY KEY (`id`)
197 162 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -201,7 +166,7 @@ CREATE TABLE `data_types` (
201 166 --
202 167  
203 168 CREATE TABLE `discussion_comments` (
204   - `id` int(11) NOT NULL default '0',
  169 + `id` int(11) NOT NULL auto_increment,
205 170 `thread_id` int(11) NOT NULL default '0',
206 171 `in_reply_to` int(11) default NULL,
207 172 `user_id` int(11) NOT NULL default '0',
... ... @@ -222,10 +187,10 @@ CREATE TABLE `discussion_comments` (
222 187 --
223 188  
224 189 CREATE TABLE `discussion_threads` (
225   - `id` int(11) NOT NULL,
  190 + `id` int(11) NOT NULL auto_increment,
226 191 `document_id` int(11) NOT NULL,
227   - `first_comment_id` int(11) NULL,
228   - `last_comment_id` int(11) NULL,
  192 + `first_comment_id` int(11) default NULL,
  193 + `last_comment_id` int(11) default NULL,
229 194 `views` int(11) NOT NULL default '0',
230 195 `replies` int(11) NOT NULL default '0',
231 196 `creator_id` int(11) NOT NULL,
... ... @@ -248,7 +213,7 @@ CREATE TABLE `discussion_threads` (
248 213 --
249 214  
250 215 CREATE TABLE `document_archiving_link` (
251   - `id` int(11) NOT NULL default '0',
  216 + `id` int(11) NOT NULL auto_increment,
252 217 `document_id` int(11) NOT NULL default '0',
253 218 `archiving_settings_id` int(11) NOT NULL default '0',
254 219 PRIMARY KEY (`id`),
... ... @@ -263,7 +228,7 @@ CREATE TABLE `document_archiving_link` (
263 228 --
264 229  
265 230 CREATE TABLE `document_content_version` (
266   - `id` int(11) NOT NULL default '0',
  231 + `id` int(11) NOT NULL auto_increment,
267 232 `document_id` int(11) NOT NULL default '0',
268 233 `filename` mediumtext NOT NULL,
269 234 `size` bigint(20) NOT NULL default '0',
... ... @@ -287,7 +252,7 @@ CREATE TABLE `document_content_version` (
287 252 --
288 253  
289 254 CREATE TABLE `document_fields` (
290   - `id` int(11) NOT NULL default '0',
  255 + `id` int(11) NOT NULL auto_increment,
291 256 `name` varchar(255) NOT NULL default '',
292 257 `data_type` varchar(100) NOT NULL default '',
293 258 `is_generic` tinyint(1) default NULL,
... ... @@ -307,9 +272,9 @@ CREATE TABLE `document_fields` (
307 272 --
308 273  
309 274 CREATE TABLE `document_fields_link` (
310   - `id` int(11) NOT NULL default '0',
  275 + `id` int(11) NOT NULL auto_increment,
311 276 `document_field_id` int(11) NOT NULL default '0',
312   - `value` mediumtext NOT NULL default '',
  277 + `value` mediumtext NOT NULL,
313 278 `metadata_version_id` int(11) default NULL,
314 279 PRIMARY KEY (`id`),
315 280 KEY `document_field_id` (`document_field_id`),
... ... @@ -323,7 +288,7 @@ CREATE TABLE `document_fields_link` (
323 288 --
324 289  
325 290 CREATE TABLE `document_incomplete` (
326   - `id` int(10) unsigned NOT NULL default '0',
  291 + `id` int(11) NOT NULL auto_increment,
327 292 `contents` tinyint(1) unsigned NOT NULL default '0',
328 293 `metadata` tinyint(1) unsigned NOT NULL default '0',
329 294 PRIMARY KEY (`id`)
... ... @@ -334,12 +299,12 @@ CREATE TABLE `document_incomplete` (
334 299 --
335 300  
336 301 CREATE TABLE `document_link` (
337   - `id` int(11) NOT NULL default '0',
  302 + `id` int(11) NOT NULL auto_increment,
338 303 `parent_document_id` int(11) NOT NULL default '0',
339 304 `child_document_id` int(11) NOT NULL default '0',
340 305 `link_type_id` int(11) NOT NULL default '0',
341   - `external_url` varchar(255),
342   - `external_name` varchar(50),
  306 + `external_url` varchar(255) default NULL,
  307 + `external_name` varchar(50) default NULL,
343 308 PRIMARY KEY (`id`),
344 309 KEY `parent_document_id` (`parent_document_id`),
345 310 KEY `child_document_id` (`child_document_id`),
... ... @@ -354,7 +319,7 @@ CREATE TABLE `document_link` (
354 319 --
355 320  
356 321 CREATE TABLE `document_link_types` (
357   - `id` int(11) NOT NULL default '0',
  322 + `id` int(11) NOT NULL auto_increment,
358 323 `name` char(100) NOT NULL default '',
359 324 `reverse_name` char(100) NOT NULL default '',
360 325 `description` char(255) NOT NULL default '',
... ... @@ -366,7 +331,7 @@ CREATE TABLE `document_link_types` (
366 331 --
367 332  
368 333 CREATE TABLE `document_metadata_version` (
369   - `id` int(11) NOT NULL default '0',
  334 + `id` int(11) NOT NULL auto_increment,
370 335 `document_id` int(11) NOT NULL default '0',
371 336 `content_version_id` int(11) NOT NULL default '0',
372 337 `document_type_id` int(11) NOT NULL default '0',
... ... @@ -401,7 +366,7 @@ CREATE TABLE `document_metadata_version` (
401 366 --
402 367  
403 368 CREATE TABLE `document_role_allocations` (
404   - `id` int(11) NOT NULL default '0',
  369 + `id` int(11) NOT NULL auto_increment,
405 370 `document_id` int(11) NOT NULL default '0',
406 371 `role_id` int(11) NOT NULL default '0',
407 372 `permission_descriptor_id` int(11) NOT NULL default '0',
... ... @@ -429,7 +394,7 @@ CREATE TABLE `document_searchable_text` (
429 394 --
430 395  
431 396 CREATE TABLE `document_subscriptions` (
432   - `id` int(11) NOT NULL default '0',
  397 + `id` int(11) NOT NULL auto_increment,
433 398 `user_id` int(11) NOT NULL default '0',
434 399 `document_id` int(11) NOT NULL default '0',
435 400 `is_alerted` tinyint(1) default NULL,
... ... @@ -480,7 +445,7 @@ CREATE TABLE `document_transaction_text` (
480 445 --
481 446  
482 447 CREATE TABLE `document_transaction_types_lookup` (
483   - `id` int(11) NOT NULL default '0',
  448 + `id` int(11) NOT NULL auto_increment,
484 449 `name` varchar(100) NOT NULL default '',
485 450 `namespace` varchar(250) NOT NULL default '',
486 451 PRIMARY KEY (`id`),
... ... @@ -492,21 +457,21 @@ CREATE TABLE `document_transaction_types_lookup` (
492 457 --
493 458  
494 459 CREATE TABLE `document_transactions` (
495   - `id` int(11) NOT NULL default '0',
  460 + `id` int(11) NOT NULL auto_increment,
496 461 `document_id` int(11) default NULL,
497 462 `version` float default NULL,
498 463 `user_id` int(11) default NULL,
499 464 `datetime` datetime NOT NULL default '0000-00-00 00:00:00',
500 465 `ip` varchar(15) default NULL,
501   - `filename` mediumtext NOT NULL default '',
502   - `comment` mediumtext NOT NULL default '',
  466 + `filename` mediumtext NOT NULL,
  467 + `comment` mediumtext NOT NULL,
503 468 `transaction_namespace` varchar(255) NOT NULL default 'ktcore.transactions.event',
504 469 `session_id` int(11) default NULL,
505 470 `admin_mode` tinyint(1) NOT NULL default '0',
506 471 PRIMARY KEY (`id`),
507 472 KEY `session_id` (`session_id`),
508 473 KEY `document_id` (`document_id`),
509   - KEY (`datetime`,`transaction_namespace`)
  474 + KEY `datetime` (`datetime`,`transaction_namespace`)
510 475 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
511 476  
512 477 --
... ... @@ -514,7 +479,7 @@ CREATE TABLE `document_transactions` (
514 479 --
515 480  
516 481 CREATE TABLE `document_type_fields_link` (
517   - `id` int(11) NOT NULL default '0',
  482 + `id` int(11) NOT NULL auto_increment,
518 483 `document_type_id` int(11) NOT NULL default '0',
519 484 `field_id` int(11) NOT NULL default '0',
520 485 `is_mandatory` tinyint(1) NOT NULL default '0',
... ... @@ -530,7 +495,7 @@ CREATE TABLE `document_type_fields_link` (
530 495 --
531 496  
532 497 CREATE TABLE `document_type_fieldsets_link` (
533   - `id` int(11) NOT NULL default '0',
  498 + `id` int(11) NOT NULL auto_increment,
534 499 `document_type_id` int(11) NOT NULL default '0',
535 500 `fieldset_id` int(11) NOT NULL default '0',
536 501 PRIMARY KEY (`id`),
... ... @@ -545,7 +510,7 @@ CREATE TABLE `document_type_fieldsets_link` (
545 510 --
546 511  
547 512 CREATE TABLE `document_types_lookup` (
548   - `id` int(11) NOT NULL default '0',
  513 + `id` int(11) NOT NULL auto_increment,
549 514 `name` char(100) default NULL,
550 515 `disabled` tinyint(4) NOT NULL default '0',
551 516 PRIMARY KEY (`id`),
... ... @@ -557,7 +522,7 @@ CREATE TABLE `document_types_lookup` (
557 522 --
558 523  
559 524 CREATE TABLE `documents` (
560   - `id` int(11) NOT NULL default '0',
  525 + `id` int(11) NOT NULL auto_increment,
561 526 `creator_id` int(11) default NULL,
562 527 `modified` datetime NOT NULL default '0000-00-00 00:00:00',
563 528 `folder_id` int(11) default NULL,
... ... @@ -640,7 +605,7 @@ CREATE TABLE `field_behaviour_options` (
640 605 --
641 606  
642 607 CREATE TABLE `field_behaviours` (
643   - `id` int(11) NOT NULL default '0',
  608 + `id` int(11) NOT NULL auto_increment,
644 609 `name` char(255) NOT NULL default '',
645 610 `human_name` char(100) NOT NULL default '',
646 611 `field_id` int(11) NOT NULL default '0',
... ... @@ -671,7 +636,7 @@ CREATE TABLE `field_orders` (
671 636 --
672 637  
673 638 CREATE TABLE `field_value_instances` (
674   - `id` int(11) NOT NULL default '0',
  639 + `id` int(11) NOT NULL auto_increment,
675 640 `field_id` int(11) NOT NULL default '0',
676 641 `field_value_id` int(11) NOT NULL default '0',
677 642 `behaviour_id` int(11) default '0',
... ... @@ -689,7 +654,7 @@ CREATE TABLE `field_value_instances` (
689 654 --
690 655  
691 656 CREATE TABLE `fieldsets` (
692   - `id` int(11) NOT NULL default '0',
  657 + `id` int(11) NOT NULL auto_increment,
693 658 `name` varchar(255) NOT NULL default '',
694 659 `namespace` varchar(255) NOT NULL default '',
695 660 `mandatory` tinyint(4) NOT NULL default '0',
... ... @@ -727,7 +692,7 @@ CREATE TABLE `folder_descendants` (
727 692 --
728 693  
729 694 CREATE TABLE `folder_doctypes_link` (
730   - `id` int(11) NOT NULL default '0',
  695 + `id` int(11) NOT NULL auto_increment,
731 696 `folder_id` int(11) NOT NULL default '0',
732 697 `document_type_id` int(11) NOT NULL default '0',
733 698 PRIMARY KEY (`id`),
... ... @@ -753,7 +718,7 @@ CREATE TABLE `folder_searchable_text` (
753 718 --
754 719  
755 720 CREATE TABLE `folder_subscriptions` (
756   - `id` int(11) NOT NULL default '0',
  721 + `id` int(11) NOT NULL auto_increment,
757 722 `user_id` int(11) NOT NULL default '0',
758 723 `folder_id` int(11) NOT NULL default '0',
759 724 `is_alerted` tinyint(1) default NULL,
... ... @@ -769,7 +734,7 @@ CREATE TABLE `folder_subscriptions` (
769 734 --
770 735  
771 736 CREATE TABLE `folder_transactions` (
772   - `id` int(11) NOT NULL default '0',
  737 + `id` int(11) NOT NULL auto_increment,
773 738 `folder_id` int(11) default NULL,
774 739 `user_id` int(11) default NULL,
775 740 `datetime` datetime NOT NULL default '0000-00-00 00:00:00',
... ... @@ -801,7 +766,7 @@ CREATE TABLE `folder_workflow_map` (
801 766 --
802 767  
803 768 CREATE TABLE `folders` (
804   - `id` int(11) NOT NULL default '0',
  769 + `id` int(11) NOT NULL auto_increment,
805 770 `name` varchar(255) default NULL,
806 771 `description` varchar(255) default NULL,
807 772 `parent_id` int(11) default NULL,
... ... @@ -829,7 +794,7 @@ CREATE TABLE `folders` (
829 794 --
830 795  
831 796 CREATE TABLE `folders_users_roles_link` (
832   - `id` int(11) NOT NULL default '0',
  797 + `id` int(11) NOT NULL auto_increment,
833 798 `group_folder_approval_id` int(11) NOT NULL default '0',
834 799 `user_id` int(11) NOT NULL default '0',
835 800 `document_id` int(11) NOT NULL default '0',
... ... @@ -849,7 +814,7 @@ CREATE TABLE `folders_users_roles_link` (
849 814 --
850 815  
851 816 CREATE TABLE `groups_groups_link` (
852   - `id` int(11) NOT NULL default '0',
  817 + `id` int(11) NOT NULL auto_increment,
853 818 `parent_group_id` int(11) NOT NULL default '0',
854 819 `member_group_id` int(11) NOT NULL default '0',
855 820 PRIMARY KEY (`id`),
... ... @@ -864,7 +829,7 @@ CREATE TABLE `groups_groups_link` (
864 829 --
865 830  
866 831 CREATE TABLE `groups_lookup` (
867   - `id` int(11) NOT NULL default '0',
  832 + `id` int(11) NOT NULL auto_increment,
868 833 `name` varchar(100) NOT NULL default '',
869 834 `is_sys_admin` tinyint(1) NOT NULL default '0',
870 835 `is_unit_admin` tinyint(1) NOT NULL default '0',
... ... @@ -884,7 +849,7 @@ CREATE TABLE `groups_lookup` (
884 849 --
885 850  
886 851 CREATE TABLE `help` (
887   - `id` int(11) NOT NULL default '0',
  852 + `id` int(11) NOT NULL auto_increment,
888 853 `fSection` varchar(100) NOT NULL default '',
889 854 `help_info` mediumtext NOT NULL,
890 855 PRIMARY KEY (`id`)
... ... @@ -895,7 +860,7 @@ CREATE TABLE `help` (
895 860 --
896 861  
897 862 CREATE TABLE `help_replacement` (
898   - `id` int(11) NOT NULL default '0',
  863 + `id` int(11) NOT NULL auto_increment,
899 864 `name` varchar(255) NOT NULL default '',
900 865 `description` mediumtext NOT NULL,
901 866 `title` varchar(255) NOT NULL default '',
... ... @@ -912,7 +877,7 @@ CREATE TABLE `index_files` (
912 877 `indexdate` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
913 878 `processdate` datetime default NULL,
914 879 `what` char(1) default NULL,
915   - `status_msg` mediumtext NULL,
  880 + `status_msg` mediumtext,
916 881 PRIMARY KEY (`document_id`),
917 882 KEY `user_id` (`user_id`),
918 883 CONSTRAINT `index_files_ibfk_1` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
... ... @@ -924,7 +889,7 @@ CREATE TABLE `index_files` (
924 889 --
925 890  
926 891 CREATE TABLE `interceptor_instances` (
927   - `id` int(11) NOT NULL,
  892 + `id` int(11) NOT NULL auto_increment,
928 893 `name` varchar(255) NOT NULL,
929 894 `interceptor_namespace` varchar(255) NOT NULL,
930 895 `config` text,
... ... @@ -937,7 +902,7 @@ CREATE TABLE `interceptor_instances` (
937 902 --
938 903  
939 904 CREATE TABLE `links` (
940   - `id` int(11) NOT NULL default '0',
  905 + `id` int(11) NOT NULL auto_increment,
941 906 `name` char(100) NOT NULL default '',
942 907 `url` char(100) NOT NULL default '',
943 908 `rank` int(11) NOT NULL default '0',
... ... @@ -949,7 +914,7 @@ CREATE TABLE `links` (
949 914 --
950 915  
951 916 CREATE TABLE `metadata_lookup` (
952   - `id` int(11) NOT NULL default '0',
  917 + `id` int(11) NOT NULL auto_increment,
953 918 `document_field_id` int(11) NOT NULL default '0',
954 919 `name` char(255) default NULL,
955 920 `treeorg_parent` int(11) default NULL,
... ... @@ -966,7 +931,7 @@ CREATE TABLE `metadata_lookup` (
966 931 --
967 932  
968 933 CREATE TABLE `metadata_lookup_tree` (
969   - `id` int(11) NOT NULL default '0',
  934 + `id` int(11) NOT NULL auto_increment,
970 935 `document_field_id` int(11) NOT NULL default '0',
971 936 `name` char(255) default NULL,
972 937 `metadata_lookup_tree_parent` int(11) default NULL,
... ... @@ -994,7 +959,7 @@ CREATE TABLE `mime_document_mapping` (
994 959 --
995 960  
996 961 CREATE TABLE `mime_documents` (
997   - `id` int(11) NOT NULL,
  962 + `id` int(11) NOT NULL auto_increment,
998 963 `mime_doc` varchar(100) default NULL,
999 964 `icon_path` varchar(20) default NULL,
1000 965 PRIMARY KEY (`id`)
... ... @@ -1005,7 +970,7 @@ CREATE TABLE `mime_documents` (
1005 970 --
1006 971  
1007 972 CREATE TABLE `mime_extractors` (
1008   - `id` mediumint(9) NOT NULL,
  973 + `id` mediumint(9) NOT NULL auto_increment,
1009 974 `name` varchar(50) NOT NULL,
1010 975 `active` tinyint(4) NOT NULL default '0',
1011 976 PRIMARY KEY (`id`)
... ... @@ -1016,7 +981,7 @@ CREATE TABLE `mime_extractors` (
1016 981 --
1017 982  
1018 983 CREATE TABLE `mime_types` (
1019   - `id` int(11) NOT NULL default '0',
  984 + `id` int(11) NOT NULL auto_increment,
1020 985 `filetypes` char(100) NOT NULL default '',
1021 986 `mimetypes` char(100) NOT NULL default '',
1022 987 `icon_path` char(255) default NULL,
... ... @@ -1037,7 +1002,7 @@ CREATE TABLE `mime_types` (
1037 1002 --
1038 1003  
1039 1004 CREATE TABLE `news` (
1040   - `id` int(11) NOT NULL default '0',
  1005 + `id` int(11) NOT NULL auto_increment,
1041 1006 `synopsis` varchar(255) NOT NULL default '',
1042 1007 `body` mediumtext,
1043 1008 `rank` int(11) default NULL,
... ... @@ -1055,7 +1020,7 @@ CREATE TABLE `news` (
1055 1020 --
1056 1021  
1057 1022 CREATE TABLE `notifications` (
1058   - `id` int(11) NOT NULL default '0',
  1023 + `id` int(11) NOT NULL auto_increment,
1059 1024 `user_id` int(11) NOT NULL default '0',
1060 1025 `label` varchar(255) NOT NULL default '',
1061 1026 `type` varchar(255) NOT NULL default '',
... ... @@ -1076,7 +1041,7 @@ CREATE TABLE `notifications` (
1076 1041 --
1077 1042  
1078 1043 CREATE TABLE `organisations_lookup` (
1079   - `id` int(11) NOT NULL default '0',
  1044 + `id` int(11) NOT NULL auto_increment,
1080 1045 `name` char(100) NOT NULL default '',
1081 1046 PRIMARY KEY (`id`),
1082 1047 UNIQUE KEY `name` (`name`)
... ... @@ -1087,7 +1052,7 @@ CREATE TABLE `organisations_lookup` (
1087 1052 --
1088 1053  
1089 1054 CREATE TABLE `permission_assignments` (
1090   - `id` int(11) NOT NULL default '0',
  1055 + `id` int(11) NOT NULL auto_increment,
1091 1056 `permission_id` int(11) NOT NULL default '0',
1092 1057 `permission_object_id` int(11) NOT NULL default '0',
1093 1058 `permission_descriptor_id` int(11) default NULL,
... ... @@ -1144,7 +1109,7 @@ CREATE TABLE `permission_descriptor_users` (
1144 1109 --
1145 1110  
1146 1111 CREATE TABLE `permission_descriptors` (
1147   - `id` int(11) NOT NULL default '0',
  1112 + `id` int(11) NOT NULL auto_increment,
1148 1113 `descriptor` varchar(32) NOT NULL default '',
1149 1114 `descriptor_text` mediumtext NOT NULL,
1150 1115 PRIMARY KEY (`id`),
... ... @@ -1169,7 +1134,7 @@ CREATE TABLE `permission_dynamic_assignments` (
1169 1134 --
1170 1135  
1171 1136 CREATE TABLE `permission_dynamic_conditions` (
1172   - `id` int(11) NOT NULL default '0',
  1137 + `id` int(11) NOT NULL auto_increment,
1173 1138 `permission_object_id` int(11) NOT NULL default '0',
1174 1139 `group_id` int(11) NOT NULL default '0',
1175 1140 `condition_id` int(11) NOT NULL default '0',
... ... @@ -1187,7 +1152,7 @@ CREATE TABLE `permission_dynamic_conditions` (
1187 1152 --
1188 1153  
1189 1154 CREATE TABLE `permission_lookup_assignments` (
1190   - `id` int(11) NOT NULL default '0',
  1155 + `id` int(11) NOT NULL auto_increment,
1191 1156 `permission_id` int(11) NOT NULL default '0',
1192 1157 `permission_lookup_id` int(11) NOT NULL default '0',
1193 1158 `permission_descriptor_id` int(11) default NULL,
... ... @@ -1205,7 +1170,7 @@ CREATE TABLE `permission_lookup_assignments` (
1205 1170 --
1206 1171  
1207 1172 CREATE TABLE `permission_lookups` (
1208   - `id` int(11) NOT NULL default '0',
  1173 + `id` int(11) NOT NULL auto_increment,
1209 1174 PRIMARY KEY (`id`)
1210 1175 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1211 1176  
... ... @@ -1214,7 +1179,7 @@ CREATE TABLE `permission_lookups` (
1214 1179 --
1215 1180  
1216 1181 CREATE TABLE `permission_objects` (
1217   - `id` int(11) NOT NULL default '0',
  1182 + `id` int(11) NOT NULL auto_increment,
1218 1183 PRIMARY KEY (`id`)
1219 1184 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1220 1185  
... ... @@ -1223,7 +1188,7 @@ CREATE TABLE `permission_objects` (
1223 1188 --
1224 1189  
1225 1190 CREATE TABLE `permissions` (
1226   - `id` int(11) NOT NULL default '0',
  1191 + `id` int(11) NOT NULL auto_increment,
1227 1192 `name` char(100) NOT NULL default '',
1228 1193 `human_name` char(100) NOT NULL default '',
1229 1194 `built_in` tinyint(4) NOT NULL default '0',
... ... @@ -1232,11 +1197,30 @@ CREATE TABLE `permissions` (
1232 1197 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1233 1198  
1234 1199 --
  1200 +-- Table structure for table `plugin_helper`
  1201 +--
  1202 +
  1203 +CREATE TABLE `plugin_helper` (
  1204 + `id` int(11) NOT NULL auto_increment,
  1205 + `namespace` varchar(120) NOT NULL,
  1206 + `plugin` varchar(120) NOT NULL,
  1207 + `classname` varchar(120) default NULL,
  1208 + `pathname` varchar(255) default NULL,
  1209 + `object` varchar(1000) NOT NULL,
  1210 + `classtype` varchar(120) NOT NULL,
  1211 + `viewtype` enum('general','dashboard','plugin','folder','document','admindispatcher','dispatcher') NOT NULL default 'general',
  1212 + PRIMARY KEY (`id`),
  1213 + KEY `name` (`namespace`),
  1214 + KEY `parent` (`plugin`),
  1215 + KEY `view` (`viewtype`)
  1216 +) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1217 +
  1218 +--
1235 1219 -- Table structure for table `plugin_rss`
1236 1220 --
1237 1221  
1238 1222 CREATE TABLE `plugin_rss` (
1239   - `id` int(11) NOT NULL,
  1223 + `id` int(11) NOT NULL auto_increment,
1240 1224 `user_id` int(11) NOT NULL,
1241 1225 `url` varchar(200) NOT NULL,
1242 1226 `title` varchar(100) NOT NULL,
... ... @@ -1250,7 +1234,7 @@ CREATE TABLE `plugin_rss` (
1250 1234 --
1251 1235  
1252 1236 CREATE TABLE `plugins` (
1253   - `id` int(11) NOT NULL default '0',
  1237 + `id` int(11) NOT NULL auto_increment,
1254 1238 `namespace` varchar(255) NOT NULL default '',
1255 1239 `path` varchar(255) NOT NULL default '',
1256 1240 `version` int(11) NOT NULL default '0',
... ... @@ -1265,32 +1249,11 @@ CREATE TABLE `plugins` (
1265 1249 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1266 1250  
1267 1251 --
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 1252 -- Table structure for table `role_allocations`
1290 1253 --
1291 1254  
1292 1255 CREATE TABLE `role_allocations` (
1293   - `id` int(11) NOT NULL default '0',
  1256 + `id` int(11) NOT NULL auto_increment,
1294 1257 `folder_id` int(11) NOT NULL default '0',
1295 1258 `role_id` int(11) NOT NULL default '0',
1296 1259 `permission_descriptor_id` int(11) NOT NULL default '0',
... ... @@ -1308,7 +1271,7 @@ CREATE TABLE `role_allocations` (
1308 1271 --
1309 1272  
1310 1273 CREATE TABLE `roles` (
1311   - `id` int(11) NOT NULL default '0',
  1274 + `id` int(11) NOT NULL auto_increment,
1312 1275 `name` char(255) NOT NULL default '',
1313 1276 PRIMARY KEY (`id`),
1314 1277 UNIQUE KEY `name` (`name`)
... ... @@ -1319,7 +1282,7 @@ CREATE TABLE `roles` (
1319 1282 --
1320 1283  
1321 1284 CREATE TABLE `saved_searches` (
1322   - `id` int(11) NOT NULL default '0',
  1285 + `id` int(11) NOT NULL auto_increment,
1323 1286 `name` varchar(50) NOT NULL default '',
1324 1287 `namespace` varchar(250) NOT NULL default '',
1325 1288 `is_condition` tinyint(1) NOT NULL default '0',
... ... @@ -1337,7 +1300,7 @@ CREATE TABLE `saved_searches` (
1337 1300 --
1338 1301  
1339 1302 CREATE TABLE `scheduler_tasks` (
1340   - `id` int(11) NOT NULL default '0',
  1303 + `id` int(11) NOT NULL auto_increment,
1341 1304 `task` varchar(50) NOT NULL,
1342 1305 `script_url` varchar(255) NOT NULL,
1343 1306 `script_params` varchar(255) default NULL,
... ... @@ -1346,7 +1309,7 @@ CREATE TABLE `scheduler_tasks` (
1346 1309 `run_time` datetime default NULL,
1347 1310 `previous_run_time` datetime default NULL,
1348 1311 `run_duration` float default NULL,
1349   - `status` ENUM('enabled', 'disabled', 'system') NOT NULL DEFAULT 'disabled',
  1312 + `status` enum('enabled','disabled','system') NOT NULL default 'disabled',
1350 1313 PRIMARY KEY (`id`),
1351 1314 UNIQUE KEY `task` (`task`)
1352 1315 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -1381,7 +1344,7 @@ CREATE TABLE `search_ranking` (
1381 1344 --
1382 1345  
1383 1346 CREATE TABLE `search_saved` (
1384   - `id` int(11) NOT NULL,
  1347 + `id` int(11) NOT NULL auto_increment,
1385 1348 `name` varchar(100) NOT NULL,
1386 1349 `expression` tinytext NOT NULL,
1387 1350 `user_id` int(11) NOT NULL,
... ... @@ -1407,7 +1370,7 @@ CREATE TABLE `search_saved_events` (
1407 1370 --
1408 1371  
1409 1372 CREATE TABLE `status_lookup` (
1410   - `id` int(11) NOT NULL default '0',
  1373 + `id` int(11) NOT NULL auto_increment,
1411 1374 `name` char(255) default NULL,
1412 1375 PRIMARY KEY (`id`)
1413 1376 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -1417,7 +1380,7 @@ CREATE TABLE `status_lookup` (
1417 1380 --
1418 1381  
1419 1382 CREATE TABLE `system_settings` (
1420   - `id` int(11) NOT NULL default '0',
  1383 + `id` int(11) NOT NULL auto_increment,
1421 1384 `name` char(255) NOT NULL default '',
1422 1385 `value` text NOT NULL,
1423 1386 PRIMARY KEY (`id`),
... ... @@ -1429,7 +1392,7 @@ CREATE TABLE `system_settings` (
1429 1392 --
1430 1393  
1431 1394 CREATE TABLE `tag_words` (
1432   - `id` int(10) NOT NULL,
  1395 + `id` int(11) NOT NULL auto_increment,
1433 1396 `tag` varchar(100) default NULL,
1434 1397 PRIMARY KEY (`id`)
1435 1398 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -1439,7 +1402,7 @@ CREATE TABLE `tag_words` (
1439 1402 --
1440 1403  
1441 1404 CREATE TABLE `time_period` (
1442   - `id` int(11) NOT NULL default '0',
  1405 + `id` int(11) NOT NULL auto_increment,
1443 1406 `time_unit_id` int(11) default NULL,
1444 1407 `units` int(11) default NULL,
1445 1408 PRIMARY KEY (`id`),
... ... @@ -1452,7 +1415,7 @@ CREATE TABLE `time_period` (
1452 1415 --
1453 1416  
1454 1417 CREATE TABLE `time_unit_lookup` (
1455   - `id` int(11) NOT NULL default '0',
  1418 + `id` int(11) NOT NULL auto_increment,
1456 1419 `name` char(100) default NULL,
1457 1420 PRIMARY KEY (`id`)
1458 1421 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
... ... @@ -1485,7 +1448,7 @@ CREATE TABLE `type_workflow_map` (
1485 1448 --
1486 1449  
1487 1450 CREATE TABLE `units_lookup` (
1488   - `id` int(11) NOT NULL default '0',
  1451 + `id` int(11) NOT NULL auto_increment,
1489 1452 `name` char(100) NOT NULL default '',
1490 1453 `folder_id` int(11) NOT NULL default '0',
1491 1454 PRIMARY KEY (`id`),
... ... @@ -1499,7 +1462,7 @@ CREATE TABLE `units_lookup` (
1499 1462 --
1500 1463  
1501 1464 CREATE TABLE `units_organisations_link` (
1502   - `id` int(11) NOT NULL default '0',
  1465 + `id` int(11) NOT NULL auto_increment,
1503 1466 `unit_id` int(11) NOT NULL default '0',
1504 1467 `organisation_id` int(11) NOT NULL default '0',
1505 1468 PRIMARY KEY (`id`),
... ... @@ -1514,7 +1477,7 @@ CREATE TABLE `units_organisations_link` (
1514 1477 --
1515 1478  
1516 1479 CREATE TABLE `upgrades` (
1517   - `id` int(10) unsigned NOT NULL default '0',
  1480 + `id` int(11) NOT NULL auto_increment,
1518 1481 `descriptor` char(100) NOT NULL default '',
1519 1482 `description` char(255) NOT NULL default '',
1520 1483 `date_performed` datetime NOT NULL default '0000-00-00 00:00:00',
... ... @@ -1548,7 +1511,7 @@ CREATE TABLE `uploaded_files` (
1548 1511 --
1549 1512  
1550 1513 CREATE TABLE `user_history` (
1551   - `id` int(11) NOT NULL,
  1514 + `id` int(11) NOT NULL auto_increment,
1552 1515 `datetime` datetime NOT NULL,
1553 1516 `user_id` int(11) NOT NULL,
1554 1517 `action_namespace` varchar(255) NOT NULL,
... ... @@ -1567,7 +1530,7 @@ CREATE TABLE `user_history` (
1567 1530 --
1568 1531  
1569 1532 CREATE TABLE `users` (
1570   - `id` int(11) NOT NULL default '0',
  1533 + `id` int(11) NOT NULL auto_increment,
1571 1534 `username` varchar(255) NOT NULL default '',
1572 1535 `name` varchar(255) NOT NULL default '',
1573 1536 `password` varchar(255) NOT NULL default '',
... ... @@ -1603,7 +1566,7 @@ CREATE TABLE `users` (
1603 1566 --
1604 1567  
1605 1568 CREATE TABLE `users_groups_link` (
1606   - `id` int(11) NOT NULL default '0',
  1569 + `id` int(11) NOT NULL auto_increment,
1607 1570 `user_id` int(11) NOT NULL default '0',
1608 1571 `group_id` int(11) NOT NULL default '0',
1609 1572 PRIMARY KEY (`id`),
... ... @@ -1666,7 +1629,7 @@ CREATE TABLE `workflow_state_disabled_actions` (
1666 1629 --
1667 1630  
1668 1631 CREATE TABLE `workflow_state_permission_assignments` (
1669   - `id` int(11) NOT NULL default '0',
  1632 + `id` int(11) NOT NULL auto_increment,
1670 1633 `workflow_state_id` int(11) NOT NULL default '0',
1671 1634 `permission_id` int(11) NOT NULL default '0',
1672 1635 `permission_descriptor_id` int(11) NOT NULL default '0',
... ... @@ -1697,7 +1660,7 @@ CREATE TABLE `workflow_state_transitions` (
1697 1660 --
1698 1661  
1699 1662 CREATE TABLE `workflow_states` (
1700   - `id` int(11) NOT NULL default '0',
  1663 + `id` int(11) NOT NULL auto_increment,
1701 1664 `workflow_id` int(11) NOT NULL default '0',
1702 1665 `name` char(255) NOT NULL default '',
1703 1666 `human_name` char(100) NOT NULL default '',
... ... @@ -1717,7 +1680,7 @@ CREATE TABLE `workflow_states` (
1717 1680 --
1718 1681  
1719 1682 CREATE TABLE `workflow_transitions` (
1720   - `id` int(11) NOT NULL default '0',
  1683 + `id` int(11) NOT NULL auto_increment,
1721 1684 `workflow_id` int(11) NOT NULL default '0',
1722 1685 `name` char(255) NOT NULL default '',
1723 1686 `human_name` char(100) NOT NULL default '',
... ... @@ -1747,7 +1710,7 @@ CREATE TABLE `workflow_transitions` (
1747 1710 --
1748 1711  
1749 1712 CREATE TABLE `workflow_trigger_instances` (
1750   - `id` int(10) unsigned NOT NULL default '0',
  1713 + `id` int(11) NOT NULL auto_increment,
1751 1714 `workflow_transition_id` int(11) NOT NULL default '0',
1752 1715 `namespace` char(255) NOT NULL default '',
1753 1716 `config_array` text,
... ... @@ -1762,7 +1725,7 @@ CREATE TABLE `workflow_trigger_instances` (
1762 1725 --
1763 1726  
1764 1727 CREATE TABLE `workflows` (
1765   - `id` int(11) NOT NULL default '0',
  1728 + `id` int(11) NOT NULL auto_increment,
1766 1729 `name` char(250) NOT NULL default '',
1767 1730 `human_name` char(100) NOT NULL default '',
1768 1731 `start_state_id` int(11) default NULL,
... ... @@ -1780,7 +1743,7 @@ CREATE TABLE `workflows` (
1780 1743 CREATE TABLE `zseq_active_sessions` (
1781 1744 `id` int(10) unsigned NOT NULL auto_increment,
1782 1745 PRIMARY KEY (`id`)
1783   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1746 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1784 1747  
1785 1748 --
1786 1749 -- Table structure for table `zseq_archive_restoration_request`
... ... @@ -1789,7 +1752,7 @@ CREATE TABLE `zseq_active_sessions` (
1789 1752 CREATE TABLE `zseq_archive_restoration_request` (
1790 1753 `id` int(10) unsigned NOT NULL auto_increment,
1791 1754 PRIMARY KEY (`id`)
1792   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1755 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1793 1756  
1794 1757 --
1795 1758 -- Table structure for table `zseq_archiving_settings`
... ... @@ -1798,7 +1761,7 @@ CREATE TABLE `zseq_archive_restoration_request` (
1798 1761 CREATE TABLE `zseq_archiving_settings` (
1799 1762 `id` int(10) unsigned NOT NULL auto_increment,
1800 1763 PRIMARY KEY (`id`)
1801   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1764 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1802 1765  
1803 1766 --
1804 1767 -- Table structure for table `zseq_archiving_type_lookup`
... ... @@ -1807,7 +1770,7 @@ CREATE TABLE `zseq_archiving_settings` (
1807 1770 CREATE TABLE `zseq_archiving_type_lookup` (
1808 1771 `id` int(10) unsigned NOT NULL auto_increment,
1809 1772 PRIMARY KEY (`id`)
1810   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  1773 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1811 1774  
1812 1775 --
1813 1776 -- Table structure for table `zseq_authentication_sources`
... ... @@ -1816,7 +1779,7 @@ CREATE TABLE `zseq_archiving_type_lookup` (
1816 1779 CREATE TABLE `zseq_authentication_sources` (
1817 1780 `id` int(10) unsigned NOT NULL auto_increment,
1818 1781 PRIMARY KEY (`id`)
1819   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1782 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1820 1783  
1821 1784 --
1822 1785 -- Table structure for table `zseq_column_entries`
... ... @@ -1825,7 +1788,7 @@ CREATE TABLE `zseq_authentication_sources` (
1825 1788 CREATE TABLE `zseq_column_entries` (
1826 1789 `id` int(10) unsigned NOT NULL auto_increment,
1827 1790 PRIMARY KEY (`id`)
1828   -) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
  1791 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1829 1792  
1830 1793 --
1831 1794 -- Table structure for table `zseq_config_settings`
... ... @@ -1834,7 +1797,7 @@ CREATE TABLE `zseq_column_entries` (
1834 1797 CREATE TABLE `zseq_config_settings` (
1835 1798 `id` int(10) unsigned NOT NULL auto_increment,
1836 1799 PRIMARY KEY (`id`)
1837   -) ENGINE=MyISAM AUTO_INCREMENT=108 DEFAULT CHARSET=latin1;
  1800 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1838 1801  
1839 1802 --
1840 1803 -- Table structure for table `zseq_dashlet_disables`
... ... @@ -1843,7 +1806,7 @@ CREATE TABLE `zseq_config_settings` (
1843 1806 CREATE TABLE `zseq_dashlet_disables` (
1844 1807 `id` int(10) unsigned NOT NULL auto_increment,
1845 1808 PRIMARY KEY (`id`)
1846   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1809 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1847 1810  
1848 1811 --
1849 1812 -- Table structure for table `zseq_data_types`
... ... @@ -1852,7 +1815,7 @@ CREATE TABLE `zseq_dashlet_disables` (
1852 1815 CREATE TABLE `zseq_data_types` (
1853 1816 `id` int(10) unsigned NOT NULL auto_increment,
1854 1817 PRIMARY KEY (`id`)
1855   -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  1818 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1856 1819  
1857 1820 --
1858 1821 -- Table structure for table `zseq_discussion_comments`
... ... @@ -1861,7 +1824,7 @@ CREATE TABLE `zseq_data_types` (
1861 1824 CREATE TABLE `zseq_discussion_comments` (
1862 1825 `id` int(10) unsigned NOT NULL auto_increment,
1863 1826 PRIMARY KEY (`id`)
1864   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1827 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1865 1828  
1866 1829 --
1867 1830 -- Table structure for table `zseq_discussion_threads`
... ... @@ -1870,7 +1833,7 @@ CREATE TABLE `zseq_discussion_comments` (
1870 1833 CREATE TABLE `zseq_discussion_threads` (
1871 1834 `id` int(10) unsigned NOT NULL auto_increment,
1872 1835 PRIMARY KEY (`id`)
1873   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1836 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1874 1837  
1875 1838 --
1876 1839 -- Table structure for table `zseq_document_archiving_link`
... ... @@ -1879,7 +1842,7 @@ CREATE TABLE `zseq_discussion_threads` (
1879 1842 CREATE TABLE `zseq_document_archiving_link` (
1880 1843 `id` int(10) unsigned NOT NULL auto_increment,
1881 1844 PRIMARY KEY (`id`)
1882   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1845 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1883 1846  
1884 1847 --
1885 1848 -- Table structure for table `zseq_document_content_version`
... ... @@ -1888,7 +1851,7 @@ CREATE TABLE `zseq_document_archiving_link` (
1888 1851 CREATE TABLE `zseq_document_content_version` (
1889 1852 `id` int(10) unsigned NOT NULL auto_increment,
1890 1853 PRIMARY KEY (`id`)
1891   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1854 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1892 1855  
1893 1856 --
1894 1857 -- Table structure for table `zseq_document_fields`
... ... @@ -1897,7 +1860,7 @@ CREATE TABLE `zseq_document_content_version` (
1897 1860 CREATE TABLE `zseq_document_fields` (
1898 1861 `id` int(10) unsigned NOT NULL auto_increment,
1899 1862 PRIMARY KEY (`id`)
1900   -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  1863 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1901 1864  
1902 1865 --
1903 1866 -- Table structure for table `zseq_document_fields_link`
... ... @@ -1906,7 +1869,7 @@ CREATE TABLE `zseq_document_fields` (
1906 1869 CREATE TABLE `zseq_document_fields_link` (
1907 1870 `id` int(10) unsigned NOT NULL auto_increment,
1908 1871 PRIMARY KEY (`id`)
1909   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1872 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1910 1873  
1911 1874 --
1912 1875 -- Table structure for table `zseq_document_link`
... ... @@ -1915,7 +1878,7 @@ CREATE TABLE `zseq_document_fields_link` (
1915 1878 CREATE TABLE `zseq_document_link` (
1916 1879 `id` int(10) unsigned NOT NULL auto_increment,
1917 1880 PRIMARY KEY (`id`)
1918   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1881 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1919 1882  
1920 1883 --
1921 1884 -- Table structure for table `zseq_document_link_types`
... ... @@ -1924,7 +1887,7 @@ CREATE TABLE `zseq_document_link` (
1924 1887 CREATE TABLE `zseq_document_link_types` (
1925 1888 `id` int(10) unsigned NOT NULL auto_increment,
1926 1889 PRIMARY KEY (`id`)
1927   -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  1890 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1928 1891  
1929 1892 --
1930 1893 -- Table structure for table `zseq_document_metadata_version`
... ... @@ -1933,7 +1896,7 @@ CREATE TABLE `zseq_document_link_types` (
1933 1896 CREATE TABLE `zseq_document_metadata_version` (
1934 1897 `id` int(10) unsigned NOT NULL auto_increment,
1935 1898 PRIMARY KEY (`id`)
1936   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1899 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1937 1900  
1938 1901 --
1939 1902 -- Table structure for table `zseq_document_role_allocations`
... ... @@ -1951,7 +1914,7 @@ CREATE TABLE `zseq_document_role_allocations` (
1951 1914 CREATE TABLE `zseq_document_subscriptions` (
1952 1915 `id` int(10) unsigned NOT NULL auto_increment,
1953 1916 PRIMARY KEY (`id`)
1954   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1917 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1955 1918  
1956 1919 --
1957 1920 -- Table structure for table `zseq_document_tags`
... ... @@ -1969,7 +1932,7 @@ CREATE TABLE `zseq_document_tags` (
1969 1932 CREATE TABLE `zseq_document_transaction_types_lookup` (
1970 1933 `id` int(10) unsigned NOT NULL auto_increment,
1971 1934 PRIMARY KEY (`id`)
1972   -) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1;
  1935 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1973 1936  
1974 1937 --
1975 1938 -- Table structure for table `zseq_document_transactions`
... ... @@ -1978,7 +1941,7 @@ CREATE TABLE `zseq_document_transaction_types_lookup` (
1978 1941 CREATE TABLE `zseq_document_transactions` (
1979 1942 `id` int(10) unsigned NOT NULL auto_increment,
1980 1943 PRIMARY KEY (`id`)
1981   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1944 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1982 1945  
1983 1946 --
1984 1947 -- Table structure for table `zseq_document_type_fields_link`
... ... @@ -1987,7 +1950,7 @@ CREATE TABLE `zseq_document_transactions` (
1987 1950 CREATE TABLE `zseq_document_type_fields_link` (
1988 1951 `id` int(10) unsigned NOT NULL auto_increment,
1989 1952 PRIMARY KEY (`id`)
1990   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1953 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1991 1954  
1992 1955 --
1993 1956 -- Table structure for table `zseq_document_type_fieldsets_link`
... ... @@ -1996,7 +1959,7 @@ CREATE TABLE `zseq_document_type_fields_link` (
1996 1959 CREATE TABLE `zseq_document_type_fieldsets_link` (
1997 1960 `id` int(10) unsigned NOT NULL auto_increment,
1998 1961 PRIMARY KEY (`id`)
1999   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1962 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2000 1963  
2001 1964 --
2002 1965 -- Table structure for table `zseq_document_types_lookup`
... ... @@ -2005,7 +1968,7 @@ CREATE TABLE `zseq_document_type_fieldsets_link` (
2005 1968 CREATE TABLE `zseq_document_types_lookup` (
2006 1969 `id` int(10) unsigned NOT NULL auto_increment,
2007 1970 PRIMARY KEY (`id`)
2008   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1971 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2009 1972  
2010 1973 --
2011 1974 -- Table structure for table `zseq_documents`
... ... @@ -2014,7 +1977,7 @@ CREATE TABLE `zseq_document_types_lookup` (
2014 1977 CREATE TABLE `zseq_documents` (
2015 1978 `id` int(10) unsigned NOT NULL auto_increment,
2016 1979 PRIMARY KEY (`id`)
2017   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1980 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2018 1981  
2019 1982 --
2020 1983 -- Table structure for table `zseq_field_behaviours`
... ... @@ -2023,7 +1986,7 @@ CREATE TABLE `zseq_documents` (
2023 1986 CREATE TABLE `zseq_field_behaviours` (
2024 1987 `id` int(10) unsigned NOT NULL auto_increment,
2025 1988 PRIMARY KEY (`id`)
2026   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1989 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2027 1990  
2028 1991 --
2029 1992 -- Table structure for table `zseq_field_value_instances`
... ... @@ -2032,7 +1995,7 @@ CREATE TABLE `zseq_field_behaviours` (
2032 1995 CREATE TABLE `zseq_field_value_instances` (
2033 1996 `id` int(10) unsigned NOT NULL auto_increment,
2034 1997 PRIMARY KEY (`id`)
2035   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  1998 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2036 1999  
2037 2000 --
2038 2001 -- Table structure for table `zseq_fieldsets`
... ... @@ -2041,7 +2004,7 @@ CREATE TABLE `zseq_field_value_instances` (
2041 2004 CREATE TABLE `zseq_fieldsets` (
2042 2005 `id` int(10) unsigned NOT NULL auto_increment,
2043 2006 PRIMARY KEY (`id`)
2044   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2007 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2045 2008  
2046 2009 --
2047 2010 -- Table structure for table `zseq_folder_doctypes_link`
... ... @@ -2050,7 +2013,7 @@ CREATE TABLE `zseq_fieldsets` (
2050 2013 CREATE TABLE `zseq_folder_doctypes_link` (
2051 2014 `id` int(10) unsigned NOT NULL auto_increment,
2052 2015 PRIMARY KEY (`id`)
2053   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  2016 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2054 2017  
2055 2018 --
2056 2019 -- Table structure for table `zseq_folder_subscriptions`
... ... @@ -2059,7 +2022,7 @@ CREATE TABLE `zseq_folder_doctypes_link` (
2059 2022 CREATE TABLE `zseq_folder_subscriptions` (
2060 2023 `id` int(10) unsigned NOT NULL auto_increment,
2061 2024 PRIMARY KEY (`id`)
2062   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2025 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2063 2026  
2064 2027 --
2065 2028 -- Table structure for table `zseq_folder_transactions`
... ... @@ -2077,7 +2040,7 @@ CREATE TABLE `zseq_folder_transactions` (
2077 2040 CREATE TABLE `zseq_folders` (
2078 2041 `id` int(10) unsigned NOT NULL auto_increment,
2079 2042 PRIMARY KEY (`id`)
2080   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  2043 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2081 2044  
2082 2045 --
2083 2046 -- Table structure for table `zseq_folders_users_roles_link`
... ... @@ -2086,7 +2049,7 @@ CREATE TABLE `zseq_folders` (
2086 2049 CREATE TABLE `zseq_folders_users_roles_link` (
2087 2050 `id` int(10) unsigned NOT NULL auto_increment,
2088 2051 PRIMARY KEY (`id`)
2089   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2052 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2090 2053  
2091 2054 --
2092 2055 -- Table structure for table `zseq_groups_groups_link`
... ... @@ -2095,7 +2058,7 @@ CREATE TABLE `zseq_folders_users_roles_link` (
2095 2058 CREATE TABLE `zseq_groups_groups_link` (
2096 2059 `id` int(10) unsigned NOT NULL auto_increment,
2097 2060 PRIMARY KEY (`id`)
2098   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2061 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2099 2062  
2100 2063 --
2101 2064 -- Table structure for table `zseq_groups_lookup`
... ... @@ -2104,7 +2067,7 @@ CREATE TABLE `zseq_groups_groups_link` (
2104 2067 CREATE TABLE `zseq_groups_lookup` (
2105 2068 `id` int(10) unsigned NOT NULL auto_increment,
2106 2069 PRIMARY KEY (`id`)
2107   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2070 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2108 2071  
2109 2072 --
2110 2073 -- Table structure for table `zseq_help`
... ... @@ -2113,7 +2076,7 @@ CREATE TABLE `zseq_groups_lookup` (
2113 2076 CREATE TABLE `zseq_help` (
2114 2077 `id` int(10) unsigned NOT NULL auto_increment,
2115 2078 PRIMARY KEY (`id`)
2116   -) ENGINE=MyISAM AUTO_INCREMENT=101 DEFAULT CHARSET=latin1;
  2079 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2117 2080  
2118 2081 --
2119 2082 -- Table structure for table `zseq_help_replacement`
... ... @@ -2122,7 +2085,7 @@ CREATE TABLE `zseq_help` (
2122 2085 CREATE TABLE `zseq_help_replacement` (
2123 2086 `id` int(10) unsigned NOT NULL auto_increment,
2124 2087 PRIMARY KEY (`id`)
2125   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2088 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2126 2089  
2127 2090 --
2128 2091 -- Table structure for table `zseq_interceptor_instances`
... ... @@ -2140,7 +2103,7 @@ CREATE TABLE `zseq_interceptor_instances` (
2140 2103 CREATE TABLE `zseq_links` (
2141 2104 `id` int(10) unsigned NOT NULL auto_increment,
2142 2105 PRIMARY KEY (`id`)
2143   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2106 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2144 2107  
2145 2108 --
2146 2109 -- Table structure for table `zseq_metadata_lookup`
... ... @@ -2149,7 +2112,7 @@ CREATE TABLE `zseq_links` (
2149 2112 CREATE TABLE `zseq_metadata_lookup` (
2150 2113 `id` int(10) unsigned NOT NULL auto_increment,
2151 2114 PRIMARY KEY (`id`)
2152   -) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
  2115 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2153 2116  
2154 2117 --
2155 2118 -- Table structure for table `zseq_metadata_lookup_tree`
... ... @@ -2158,7 +2121,7 @@ CREATE TABLE `zseq_metadata_lookup` (
2158 2121 CREATE TABLE `zseq_metadata_lookup_tree` (
2159 2122 `id` int(10) unsigned NOT NULL auto_increment,
2160 2123 PRIMARY KEY (`id`)
2161   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2124 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2162 2125  
2163 2126 --
2164 2127 -- Table structure for table `zseq_mime_documents`
... ... @@ -2183,7 +2146,7 @@ CREATE TABLE `zseq_mime_extractors` (
2183 2146 CREATE TABLE `zseq_mime_types` (
2184 2147 `id` int(10) unsigned NOT NULL auto_increment,
2185 2148 PRIMARY KEY (`id`)
2186   -) ENGINE=MyISAM AUTO_INCREMENT=162 DEFAULT CHARSET=latin1;
  2149 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2187 2150  
2188 2151 --
2189 2152 -- Table structure for table `zseq_news`
... ... @@ -2192,7 +2155,7 @@ CREATE TABLE `zseq_mime_types` (
2192 2155 CREATE TABLE `zseq_news` (
2193 2156 `id` int(10) unsigned NOT NULL auto_increment,
2194 2157 PRIMARY KEY (`id`)
2195   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2158 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2196 2159  
2197 2160 --
2198 2161 -- Table structure for table `zseq_notifications`
... ... @@ -2201,7 +2164,7 @@ CREATE TABLE `zseq_news` (
2201 2164 CREATE TABLE `zseq_notifications` (
2202 2165 `id` int(10) unsigned NOT NULL auto_increment,
2203 2166 PRIMARY KEY (`id`)
2204   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2167 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2205 2168  
2206 2169 --
2207 2170 -- Table structure for table `zseq_organisations_lookup`
... ... @@ -2210,7 +2173,7 @@ CREATE TABLE `zseq_notifications` (
2210 2173 CREATE TABLE `zseq_organisations_lookup` (
2211 2174 `id` int(10) unsigned NOT NULL auto_increment,
2212 2175 PRIMARY KEY (`id`)
2213   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2176 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2214 2177  
2215 2178 --
2216 2179 -- Table structure for table `zseq_permission_assignments`
... ... @@ -2219,7 +2182,7 @@ CREATE TABLE `zseq_organisations_lookup` (
2219 2182 CREATE TABLE `zseq_permission_assignments` (
2220 2183 `id` int(10) unsigned NOT NULL auto_increment,
2221 2184 PRIMARY KEY (`id`)
2222   -) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
  2185 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2223 2186  
2224 2187 --
2225 2188 -- Table structure for table `zseq_permission_descriptors`
... ... @@ -2228,7 +2191,7 @@ CREATE TABLE `zseq_permission_assignments` (
2228 2191 CREATE TABLE `zseq_permission_descriptors` (
2229 2192 `id` int(10) unsigned NOT NULL auto_increment,
2230 2193 PRIMARY KEY (`id`)
2231   -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  2194 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2232 2195  
2233 2196 --
2234 2197 -- Table structure for table `zseq_permission_dynamic_conditions`
... ... @@ -2237,7 +2200,7 @@ CREATE TABLE `zseq_permission_descriptors` (
2237 2200 CREATE TABLE `zseq_permission_dynamic_conditions` (
2238 2201 `id` int(10) unsigned NOT NULL auto_increment,
2239 2202 PRIMARY KEY (`id`)
2240   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2203 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2241 2204  
2242 2205 --
2243 2206 -- Table structure for table `zseq_permission_lookup_assignments`
... ... @@ -2246,7 +2209,7 @@ CREATE TABLE `zseq_permission_dynamic_conditions` (
2246 2209 CREATE TABLE `zseq_permission_lookup_assignments` (
2247 2210 `id` int(10) unsigned NOT NULL auto_increment,
2248 2211 PRIMARY KEY (`id`)
2249   -) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=latin1;
  2212 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2250 2213  
2251 2214 --
2252 2215 -- Table structure for table `zseq_permission_lookups`
... ... @@ -2255,7 +2218,7 @@ CREATE TABLE `zseq_permission_lookup_assignments` (
2255 2218 CREATE TABLE `zseq_permission_lookups` (
2256 2219 `id` int(10) unsigned NOT NULL auto_increment,
2257 2220 PRIMARY KEY (`id`)
2258   -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;
  2221 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2259 2222  
2260 2223 --
2261 2224 -- Table structure for table `zseq_permission_objects`
... ... @@ -2264,7 +2227,7 @@ CREATE TABLE `zseq_permission_lookups` (
2264 2227 CREATE TABLE `zseq_permission_objects` (
2265 2228 `id` int(10) unsigned NOT NULL auto_increment,
2266 2229 PRIMARY KEY (`id`)
2267   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2230 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2268 2231  
2269 2232 --
2270 2233 -- Table structure for table `zseq_permissions`
... ... @@ -2273,37 +2236,35 @@ CREATE TABLE `zseq_permission_objects` (
2273 2236 CREATE TABLE `zseq_permissions` (
2274 2237 `id` int(10) unsigned NOT NULL auto_increment,
2275 2238 PRIMARY KEY (`id`)
2276   -) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1;
  2239 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2277 2240  
2278 2241 --
2279   --- Table structure for table `zseq_plugin_rss`
  2242 +-- Table structure for table `zseq_plugin_helper`
2280 2243 --
2281 2244  
2282   -CREATE TABLE `zseq_plugin_rss` (
  2245 +CREATE TABLE `zseq_plugin_helper` (
2283 2246 `id` int(10) unsigned NOT NULL auto_increment,
2284 2247 PRIMARY KEY (`id`)
2285   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2248 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2286 2249  
2287 2250 --
2288   --- Table structure for table `zseq_plugins`
  2251 +-- Table structure for table `zseq_plugin_rss`
2289 2252 --
2290 2253  
2291   -CREATE TABLE `zseq_plugins` (
  2254 +CREATE TABLE `zseq_plugin_rss` (
2292 2255 `id` int(10) unsigned NOT NULL auto_increment,
2293 2256 PRIMARY KEY (`id`)
2294   -) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1;
  2257 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2295 2258  
2296 2259 --
2297   --- Table structure for table `zseq_plugin_helper`
  2260 +-- Table structure for table `zseq_plugins`
2298 2261 --
2299 2262  
2300   -CREATE TABLE `zseq_plugin_helper` (
  2263 +CREATE TABLE `zseq_plugins` (
2301 2264 `id` int(10) unsigned NOT NULL auto_increment,
2302 2265 PRIMARY KEY (`id`)
2303 2266 ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2304 2267  
2305   --- --------------------------------------------------------
2306   -
2307 2268 --
2308 2269 -- Table structure for table `zseq_role_allocations`
2309 2270 --
... ... @@ -2311,7 +2272,7 @@ CREATE TABLE `zseq_plugin_helper` (
2311 2272 CREATE TABLE `zseq_role_allocations` (
2312 2273 `id` int(10) unsigned NOT NULL auto_increment,
2313 2274 PRIMARY KEY (`id`)
2314   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2275 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2315 2276  
2316 2277 --
2317 2278 -- Table structure for table `zseq_roles`
... ... @@ -2320,7 +2281,7 @@ CREATE TABLE `zseq_role_allocations` (
2320 2281 CREATE TABLE `zseq_roles` (
2321 2282 `id` int(10) unsigned NOT NULL auto_increment,
2322 2283 PRIMARY KEY (`id`)
2323   -) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
  2284 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2324 2285  
2325 2286 --
2326 2287 -- Table structure for table `zseq_saved_searches`
... ... @@ -2329,7 +2290,7 @@ CREATE TABLE `zseq_roles` (
2329 2290 CREATE TABLE `zseq_saved_searches` (
2330 2291 `id` int(10) unsigned NOT NULL auto_increment,
2331 2292 PRIMARY KEY (`id`)
2332   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2293 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2333 2294  
2334 2295 --
2335 2296 -- Table structure for table `zseq_scheduler_tasks`
... ... @@ -2355,7 +2316,7 @@ CREATE TABLE `zseq_search_saved` (
2355 2316 CREATE TABLE `zseq_status_lookup` (
2356 2317 `id` int(10) unsigned NOT NULL auto_increment,
2357 2318 PRIMARY KEY (`id`)
2358   -) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
  2319 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2359 2320  
2360 2321 --
2361 2322 -- Table structure for table `zseq_system_settings`
... ... @@ -2364,7 +2325,7 @@ CREATE TABLE `zseq_status_lookup` (
2364 2325 CREATE TABLE `zseq_system_settings` (
2365 2326 `id` int(10) unsigned NOT NULL auto_increment,
2366 2327 PRIMARY KEY (`id`)
2367   -) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
  2328 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2368 2329  
2369 2330 --
2370 2331 -- Table structure for table `zseq_tag_words`
... ... @@ -2382,7 +2343,7 @@ CREATE TABLE `zseq_tag_words` (
2382 2343 CREATE TABLE `zseq_time_period` (
2383 2344 `id` int(10) unsigned NOT NULL auto_increment,
2384 2345 PRIMARY KEY (`id`)
2385   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2346 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2386 2347  
2387 2348 --
2388 2349 -- Table structure for table `zseq_time_unit_lookup`
... ... @@ -2391,7 +2352,7 @@ CREATE TABLE `zseq_time_period` (
2391 2352 CREATE TABLE `zseq_time_unit_lookup` (
2392 2353 `id` int(10) unsigned NOT NULL auto_increment,
2393 2354 PRIMARY KEY (`id`)
2394   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2355 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2395 2356  
2396 2357 --
2397 2358 -- Table structure for table `zseq_units_lookup`
... ... @@ -2400,7 +2361,7 @@ CREATE TABLE `zseq_time_unit_lookup` (
2400 2361 CREATE TABLE `zseq_units_lookup` (
2401 2362 `id` int(10) unsigned NOT NULL auto_increment,
2402 2363 PRIMARY KEY (`id`)
2403   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2364 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2404 2365  
2405 2366 --
2406 2367 -- Table structure for table `zseq_units_organisations_link`
... ... @@ -2409,7 +2370,7 @@ CREATE TABLE `zseq_units_lookup` (
2409 2370 CREATE TABLE `zseq_units_organisations_link` (
2410 2371 `id` int(10) unsigned NOT NULL auto_increment,
2411 2372 PRIMARY KEY (`id`)
2412   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2373 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2413 2374  
2414 2375 --
2415 2376 -- Table structure for table `zseq_upgrades`
... ... @@ -2418,7 +2379,7 @@ CREATE TABLE `zseq_units_organisations_link` (
2418 2379 CREATE TABLE `zseq_upgrades` (
2419 2380 `id` int(10) unsigned NOT NULL auto_increment,
2420 2381 PRIMARY KEY (`id`)
2421   -) ENGINE=MyISAM AUTO_INCREMENT=154 DEFAULT CHARSET=latin1;
  2382 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2422 2383  
2423 2384 --
2424 2385 -- Table structure for table `zseq_user_history`
... ... @@ -2436,7 +2397,7 @@ CREATE TABLE `zseq_user_history` (
2436 2397 CREATE TABLE `zseq_users` (
2437 2398 `id` int(10) unsigned NOT NULL auto_increment,
2438 2399 PRIMARY KEY (`id`)
2439   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2400 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2440 2401  
2441 2402 --
2442 2403 -- Table structure for table `zseq_users_groups_link`
... ... @@ -2445,7 +2406,7 @@ CREATE TABLE `zseq_users` (
2445 2406 CREATE TABLE `zseq_users_groups_link` (
2446 2407 `id` int(10) unsigned NOT NULL auto_increment,
2447 2408 PRIMARY KEY (`id`)
2448   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2409 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2449 2410  
2450 2411 --
2451 2412 -- Table structure for table `zseq_workflow_state_disabled_actions`
... ... @@ -2463,7 +2424,7 @@ CREATE TABLE `zseq_workflow_state_disabled_actions` (
2463 2424 CREATE TABLE `zseq_workflow_state_permission_assignments` (
2464 2425 `id` int(10) unsigned NOT NULL auto_increment,
2465 2426 PRIMARY KEY (`id`)
2466   -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  2427 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2467 2428  
2468 2429 --
2469 2430 -- Table structure for table `zseq_workflow_states`
... ... @@ -2472,7 +2433,7 @@ CREATE TABLE `zseq_workflow_state_permission_assignments` (
2472 2433 CREATE TABLE `zseq_workflow_states` (
2473 2434 `id` int(10) unsigned NOT NULL auto_increment,
2474 2435 PRIMARY KEY (`id`)
2475   -) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;
  2436 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2476 2437  
2477 2438 --
2478 2439 -- Table structure for table `zseq_workflow_transitions`
... ... @@ -2481,7 +2442,7 @@ CREATE TABLE `zseq_workflow_states` (
2481 2442 CREATE TABLE `zseq_workflow_transitions` (
2482 2443 `id` int(10) unsigned NOT NULL auto_increment,
2483 2444 PRIMARY KEY (`id`)
2484   -) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1;
  2445 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2485 2446  
2486 2447 --
2487 2448 -- Table structure for table `zseq_workflow_trigger_instances`
... ... @@ -2499,7 +2460,7 @@ CREATE TABLE `zseq_workflow_trigger_instances` (
2499 2460 CREATE TABLE `zseq_workflows` (
2500 2461 `id` int(10) unsigned NOT NULL auto_increment,
2501 2462 PRIMARY KEY (`id`)
2502   -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
  2463 +) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2503 2464 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
2504 2465  
2505 2466 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
... ... @@ -2510,4 +2471,4 @@ CREATE TABLE `zseq_workflows` (
2510 2471 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
2511 2472 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2512 2473  
2513   --- Dump completed on 2007-10-23 13:43:23
  2474 +-- 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
... ...