diff --git a/lib/database/dbutil.inc b/lib/database/dbutil.inc index d2fb64f..1feb767 100644 --- a/lib/database/dbutil.inc +++ b/lib/database/dbutil.inc @@ -8,31 +8,31 @@ * Document Management Made Simple * Copyright (C) 2008 KnowledgeTree Inc. * Portions copyright The Jam Warehouse Software (Pty) Limited - * + * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 3 as published by the * Free Software Foundation. - * + * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . - * - * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, + * + * You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, * California 94120-7775, or email info@knowledgetree.com. - * + * * The interactive user interfaces in modified source and object code versions * of this program must display Appropriate Legal Notices, as required under * Section 5 of the GNU General Public License version 3. - * + * * In accordance with Section 7(b) of the GNU General Public License version 3, * these Appropriate Legal Notices must retain the display of the "Powered by - * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * KnowledgeTree" logo and retain the original copyright notice. If the display of the * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices - * must display the words "Powered by KnowledgeTree" and retain the original + * must display the words "Powered by KnowledgeTree" and retain the original * copyright notice. * Contributor( s): ______________________________________ */ @@ -133,12 +133,6 @@ class DBUtil { $default->log->error('Problem: ' . $result->getMessage()); } - function nextId($seqname, $ondemand = false, $db = null) { - $db =& DBUtil::getDB($db); - - return $db->nextId($seqname, $ondemand); - } - function runQueries($aQueries, $db = null) { foreach ($aQueries as $sQuery) { $res = DBUtil::runQuery($sQuery, $db); @@ -158,19 +152,15 @@ class DBUtil { global $default; // $default->log->debug('AutoInsert called for table ' . $sTable); $db =& DBUtil::getDB(); - if (!array_key_exists('id', $aFieldValues) && ($bNoId === false)) { - $res = DBUtil::nextId($sTable, null, $db); - if (PEAR::isError($res)) { - return $res; - } - $aFieldValues['id'] = $res; - } $res = $db->autoExecute($sTable, $aFieldValues); if ($default->queryLog) { $default->queryLog->debug('Query: ' . DBUtil::lastQuery($db)); } if ($res === DB_OK) { - return $aFieldValues['id']; + if ($bNoId) + return; + else + return mysql_insert_id(); } if (PEAR::isError($res)) { DBUtil::logQueryError(DBUtil::lastQuery($db), $res); diff --git a/sql/mysql/install/data.sql b/sql/mysql/install/data.sql index 2527e38..8bc246e 100644 --- a/sql/mysql/install/data.sql +++ b/sql/mysql/install/data.sql @@ -1,38 +1,3 @@ --- --- $Id$ --- --- KnowledgeTree Community Edition --- Document Management Made Simple --- Copyright (C) 2008 KnowledgeTree Inc. --- Portions copyright The Jam Warehouse Software (Pty) Limited --- --- This program is free software; you can redistribute it and/or modify it under --- the terms of the GNU General Public License version 3 as published by the --- Free Software Foundation. --- --- This program is distributed in the hope that it will be useful, but WITHOUT --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more --- details. --- --- You should have received a copy of the GNU General Public License --- along with this program. If not, see . --- --- You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, --- California 94120-7775, or email info@knowledgetree.com. --- --- The interactive user interfaces in modified source and object code versions --- of this program must display Appropriate Legal Notices, as required under --- Section 5 of the GNU General Public License version 3. --- --- In accordance with Section 7(b) of the GNU General Public License version 3, --- these Appropriate Legal Notices must retain the display of the "Powered by --- KnowledgeTree" logo and retain the original copyright notice. If the display of the --- logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices --- must display the words "Powered by KnowledgeTree" and retain the original --- copyright notice. --- Contributor( s): ______________________________________ --- -- MySQL dump 10.11 -- -- Host: localhost Database: ktdms @@ -83,7 +48,9 @@ UNLOCK TABLES; LOCK TABLES `archiving_type_lookup` WRITE; /*!40000 ALTER TABLE `archiving_type_lookup` DISABLE KEYS */; -INSERT INTO `archiving_type_lookup` VALUES (1,'Date'),(2,'Utilisation'); +INSERT INTO `archiving_type_lookup` VALUES +(1,'Date'), +(2,'Utilisation'); /*!40000 ALTER TABLE `archiving_type_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -102,7 +69,21 @@ UNLOCK TABLES; LOCK TABLES `column_entries` WRITE; /*!40000 ALTER TABLE `column_entries` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `column_entries` ENABLE KEYS */; UNLOCK TABLES; @@ -121,7 +102,7 @@ UNLOCK TABLES; LOCK TABLES `config_settings` WRITE; /*!40000 ALTER TABLE `config_settings` DISABLE KEYS */; -INSERT INTO `config_settings`(`id`,`group_name`,`item`,`type`,`value`,`helptext`,`default_value`,`can_edit`) VALUES +INSERT INTO `config_settings` VALUES (1,'ui','appName','','KnowledgeTree','OEM application name','KnowledgeTree',1), (2,'KnowledgeTree','schedulerInterval','','30','','30',1), (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` (15,'email','emailFrom','','kt@example.org','','kt@example.org',1), (16,'email','emailFromName','','KnowledgeTree Document Management System','','KnowledgeTree Document Management System',1), (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), -(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), +(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), (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), (21,'user_prefs','passwordLength','','6','Minimum password length on password-setting\r\n','6',1), (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; LOCK TABLES `data_types` WRITE; /*!40000 ALTER TABLE `data_types` DISABLE KEYS */; -INSERT INTO `data_types` VALUES (1,'STRING'),(2,'CHAR'),(3,'TEXT'),(4,'INT'),(5,'FLOAT'); +INSERT INTO `data_types` VALUES +(1,'STRING'), +(2,'CHAR'), +(3,'TEXT'), +(4,'INT'), +(5,'FLOAT'); /*!40000 ALTER TABLE `data_types` ENABLE KEYS */; UNLOCK TABLES; @@ -293,7 +280,8 @@ UNLOCK TABLES; LOCK TABLES `document_fields` WRITE; /*!40000 ALTER TABLE `document_fields` DISABLE KEYS */; -INSERT INTO `document_fields` VALUES (2,'Tag','STRING',0,0,0,2,0,'Tag Words',0), +INSERT INTO `document_fields` VALUES +(2,'Tag','STRING',0,0,0,2,0,'Tag Words',0), (3,'Document Author','STRING',0,0,0,3,0,'Please add a document author',0), (4,'Category','STRING',0,1,0,3,0,'Please select a category',1), (5,'Media Type','STRING',0,1,0,3,0,'Please select a media type',2); @@ -333,7 +321,12 @@ UNLOCK TABLES; LOCK TABLES `document_link_types` WRITE; /*!40000 ALTER TABLE `document_link_types` DISABLE KEYS */; -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'); +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'); /*!40000 ALTER TABLE `document_link_types` ENABLE KEYS */; UNLOCK TABLES; @@ -406,7 +399,28 @@ UNLOCK TABLES; LOCK TABLES `document_transaction_types_lookup` WRITE; /*!40000 ALTER TABLE `document_transaction_types_lookup` DISABLE KEYS */; -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'); +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'); /*!40000 ALTER TABLE `document_transaction_types_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -443,7 +457,8 @@ UNLOCK TABLES; LOCK TABLES `document_types_lookup` WRITE; /*!40000 ALTER TABLE `document_types_lookup` DISABLE KEYS */; -INSERT INTO `document_types_lookup` VALUES (1,'Default',0); +INSERT INTO `document_types_lookup` VALUES +(1,'Default',0); /*!40000 ALTER TABLE `document_types_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -507,7 +522,9 @@ UNLOCK TABLES; LOCK TABLES `fieldsets` WRITE; /*!40000 ALTER TABLE `fieldsets` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `fieldsets` ENABLE KEYS */; UNLOCK TABLES; @@ -526,7 +543,8 @@ UNLOCK TABLES; LOCK TABLES `folder_doctypes_link` WRITE; /*!40000 ALTER TABLE `folder_doctypes_link` DISABLE KEYS */; -INSERT INTO `folder_doctypes_link` VALUES (1,1,1); +INSERT INTO `folder_doctypes_link` VALUES +(1,1,1); /*!40000 ALTER TABLE `folder_doctypes_link` ENABLE KEYS */; UNLOCK TABLES; @@ -536,7 +554,8 @@ UNLOCK TABLES; LOCK TABLES `folder_searchable_text` WRITE; /*!40000 ALTER TABLE `folder_searchable_text` DISABLE KEYS */; -INSERT INTO `folder_searchable_text` VALUES (1,'Root Folder'); +INSERT INTO `folder_searchable_text` VALUES +(1,'Root Folder'); /*!40000 ALTER TABLE `folder_searchable_text` ENABLE KEYS */; UNLOCK TABLES; @@ -573,7 +592,8 @@ UNLOCK TABLES; LOCK TABLES `folders` WRITE; /*!40000 ALTER TABLE `folders` DISABLE KEYS */; -INSERT INTO `folders` VALUES (1,'Root Folder','Root Document Folder',NULL,1,0,NULL,NULL,1,5,0,1); +INSERT INTO `folders` VALUES +(1,'Root Folder','Root Document Folder',NULL,1,0,NULL,NULL,1,5,0,1); /*!40000 ALTER TABLE `folders` ENABLE KEYS */; UNLOCK TABLES; @@ -601,7 +621,8 @@ UNLOCK TABLES; LOCK TABLES `groups_lookup` WRITE; /*!40000 ALTER TABLE `groups_lookup` DISABLE KEYS */; -INSERT INTO `groups_lookup` VALUES (1,'System Administrators',1,0,NULL,NULL,NULL,NULL); +INSERT INTO `groups_lookup` VALUES +(1,'System Administrators',1,0,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `groups_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -611,7 +632,107 @@ UNLOCK TABLES; LOCK TABLES `help` WRITE; /*!40000 ALTER TABLE `help` DISABLE KEYS */; -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'); +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'); /*!40000 ALTER TABLE `help` ENABLE KEYS */; UNLOCK TABLES; @@ -657,7 +778,17 @@ UNLOCK TABLES; LOCK TABLES `metadata_lookup` WRITE; /*!40000 ALTER TABLE `metadata_lookup` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `metadata_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -866,16 +997,15 @@ INSERT INTO `mime_types` VALUES (160,'csv','text/csv','excel','Comma delimited spreadsheet',NULL,NULL), (161,'msi','application/x-msi','compressed','MSI Installer file',NULL,NULL), (162,'pps','application/vnd.ms-powerpoint','office','Powerpoint Presentation',NULL,NULL), -(163, 'docx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'word', 'Word Document',NULL,NULL), -(164, 'dotx', 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', 'word', 'Word Document',NULL,NULL), -(165, 'potx', 'application/vnd.openxmlformats-officedocument.presentationml.template', 'office', 'Powerpoint Presentation',NULL,NULL), -(166, 'ppsx', 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', 'office', 'Powerpoint Presentation',NULL,NULL), -(167, 'pptx', 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'office', 'Powerpoint Presentation',NULL,NULL), -(168, 'xlsx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'excel', 'Excel Spreadsheet',NULL,NULL), -(169, 'xltx', 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', 'excel', 'Excel Spreadsheet',NULL,NULL), -(170, 'msg', 'application/vnd.ms-outlook', 'office', 'Outlook Item',NULL,NULL), -(171, 'db', 'application/db', '', 'Misc DB file',NULL,NULL); - +(163,'docx','application/vnd.openxmlformats-officedocument.wordprocessingml.document','word','Word Document',NULL,NULL), +(164,'dotx','application/vnd.openxmlformats-officedocument.wordprocessingml.template','word','Word Document',NULL,NULL), +(165,'potx','application/vnd.openxmlformats-officedocument.presentationml.template','office','Powerpoint Presentation',NULL,NULL), +(166,'ppsx','application/vnd.openxmlformats-officedocument.presentationml.slideshow','office','Powerpoint Presentation',NULL,NULL), +(167,'pptx','application/vnd.openxmlformats-officedocument.presentationml.presentation','office','Powerpoint Presentation',NULL,NULL), +(168,'xlsx','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','excel','Excel Spreadsheet',NULL,NULL), +(169,'xltx','application/vnd.openxmlformats-officedocument.spreadsheetml.template','excel','Excel Spreadsheet',NULL,NULL), +(170,'msg','application/vnd.ms-outlook','office','Outlook Item',NULL,NULL), +(171,'db','application/db','','Misc DB file',NULL,NULL); /*!40000 ALTER TABLE `mime_types` ENABLE KEYS */; UNLOCK TABLES; @@ -903,7 +1033,8 @@ UNLOCK TABLES; LOCK TABLES `organisations_lookup` WRITE; /*!40000 ALTER TABLE `organisations_lookup` DISABLE KEYS */; -INSERT INTO `organisations_lookup` VALUES (1,'Default Organisation'); +INSERT INTO `organisations_lookup` VALUES +(1,'Default Organisation'); /*!40000 ALTER TABLE `organisations_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -913,7 +1044,15 @@ UNLOCK TABLES; LOCK TABLES `permission_assignments` WRITE; /*!40000 ALTER TABLE `permission_assignments` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `permission_assignments` ENABLE KEYS */; UNLOCK TABLES; @@ -923,7 +1062,8 @@ UNLOCK TABLES; LOCK TABLES `permission_descriptor_groups` WRITE; /*!40000 ALTER TABLE `permission_descriptor_groups` DISABLE KEYS */; -INSERT INTO `permission_descriptor_groups` VALUES (2,1); +INSERT INTO `permission_descriptor_groups` VALUES +(2,1); /*!40000 ALTER TABLE `permission_descriptor_groups` ENABLE KEYS */; UNLOCK TABLES; @@ -951,7 +1091,9 @@ UNLOCK TABLES; LOCK TABLES `permission_descriptors` WRITE; /*!40000 ALTER TABLE `permission_descriptors` DISABLE KEYS */; -INSERT INTO `permission_descriptors` VALUES (1,'d41d8cd98f00b204e9800998ecf8427e',''),(2,'a689e7c4dc953de8d93b1ed4843b2dfe','group(1)'); +INSERT INTO `permission_descriptors` VALUES +(1,'d41d8cd98f00b204e9800998ecf8427e',''), +(2,'a689e7c4dc953de8d93b1ed4843b2dfe','group(1)'); /*!40000 ALTER TABLE `permission_descriptors` ENABLE KEYS */; UNLOCK TABLES; @@ -979,7 +1121,31 @@ UNLOCK TABLES; LOCK TABLES `permission_lookup_assignments` WRITE; /*!40000 ALTER TABLE `permission_lookup_assignments` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `permission_lookup_assignments` ENABLE KEYS */; UNLOCK TABLES; @@ -989,7 +1155,12 @@ UNLOCK TABLES; LOCK TABLES `permission_lookups` WRITE; /*!40000 ALTER TABLE `permission_lookups` DISABLE KEYS */; -INSERT INTO `permission_lookups` VALUES (1),(2),(3),(4),(5); +INSERT INTO `permission_lookups` VALUES +(1), +(2), +(3), +(4), +(5); /*!40000 ALTER TABLE `permission_lookups` ENABLE KEYS */; UNLOCK TABLES; @@ -999,7 +1170,8 @@ UNLOCK TABLES; LOCK TABLES `permission_objects` WRITE; /*!40000 ALTER TABLE `permission_objects` DISABLE KEYS */; -INSERT INTO `permission_objects` VALUES (1); +INSERT INTO `permission_objects` VALUES +(1); /*!40000 ALTER TABLE `permission_objects` ENABLE KEYS */; UNLOCK TABLES; @@ -1009,11 +1181,28 @@ UNLOCK TABLES; LOCK TABLES `permissions` WRITE; /*!40000 ALTER TABLE `permissions` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `permissions` ENABLE KEYS */; UNLOCK TABLES; -- +-- Dumping data for table `plugin_helper` +-- + +LOCK TABLES `plugin_helper` WRITE; +/*!40000 ALTER TABLE `plugin_helper` DISABLE KEYS */; +/*!40000 ALTER TABLE `plugin_helper` ENABLE KEYS */; +UNLOCK TABLES; + +-- -- Dumping data for table `plugin_rss` -- @@ -1029,27 +1218,27 @@ UNLOCK TABLES; LOCK TABLES `plugins` WRITE; /*!40000 ALTER TABLE `plugins` DISABLE KEYS */; INSERT INTO `plugins` VALUES - (1,'ktcore.tagcloud.plugin','plugins/tagcloud/TagCloudPlugin.php',0,0,NULL,0,'Tag Cloud Plugin',0), - (2,'ktcore.rss.plugin','plugins/rssplugin/RSSPlugin.php',0,0,NULL,0,'RSS Plugin',0), - (3,'ktcore.language.plugin','plugins/ktcore/KTCoreLanguagePlugin.php',0,0,NULL,0,'Core Language Support',-75), - (4,'ktcore.plugin','plugins/ktcore/KTCorePlugin.php',0,0,NULL,0,'Core Application Functionality',-25), - (5,'ktstandard.adminversion.plugin','plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php',0,0,NULL,0,'Admin Version Notifier',0), - (6,'ktstandard.ldapauthentication.plugin','plugins/ktstandard/KTLDAPAuthenticationPlugin.php',0,0,NULL,0,'LDAP Authentication Plugin',0), - (7,'ktstandard.pdf.plugin','plugins/ktstandard/PDFGeneratorPlugin.php',0,0,NULL,0,'PDF Generator Plugin',0), - (8,'ktstandard.bulkexport.plugin','plugins/ktstandard/KTBulkExportPlugin.php',0,0,NULL,0,'Bulk Export Plugin',0), - (9,'ktstandard.immutableaction.plugin','plugins/ktstandard/ImmutableActionPlugin.php',0,0,NULL,0,'Immutable action plugin',0), - (10,'ktstandard.subscriptions.plugin','plugins/ktstandard/KTSubscriptions.php',0,0,NULL,0,'Subscription Plugin',0), - (11,'ktstandard.discussion.plugin','plugins/ktstandard/KTDiscussion.php',0,0,NULL,0,'Document Discussions Plugin',0), - (12,'ktstandard.email.plugin','plugins/ktstandard/KTEmail.php',0,0,NULL,0,'Email Plugin',0), - (13,'ktstandard.indexer.plugin','plugins/ktstandard/KTIndexer.php',0,0,NULL,0,'Full-text Content Indexing',0), - (14,'ktstandard.documentlinks.plugin','plugins/ktstandard/KTDocumentLinks.php',0,0,NULL,0,'Inter-document linking',0), - (15,'ktstandard.workflowassociation.plugin','plugins/ktstandard/KTWorkflowAssociation.php',0,0,NULL,0,'Workflow Association Plugin',0), - (16,'ktstandard.workflowassociation.documenttype.plugin','plugins/ktstandard/workflow/TypeAssociator.php',0,0,NULL,0,'Workflow allocation by document type',0), - (17,'ktstandard.workflowassociation.folder.plugin','plugins/ktstandard/workflow/FolderAssociator.php',0,0,NULL,0,'Workflow allocation by location',0), - (18,'ktstandard.disclaimers.plugin','plugins/ktstandard/KTDisclaimers.php',0,0,NULL,0,'Disclaimers Plugin',0), - (19,'nbm.browseable.plugin','plugins/browseabledashlet/BrowseableDashletPlugin.php',0,0,NULL,0,'Orphaned Folders Plugin',0), - (20,'ktstandard.ktwebdavdashlet.plugin','plugins/ktstandard/KTWebDAVDashletPlugin.php',0,0,NULL,0,'WebDAV Dashlet Plugin',0), - (21,'ktcore.housekeeper.plugin','plugins/housekeeper/HouseKeeperPlugin.php',0,0,NULL,0,'Housekeeper',0); +(1,'ktcore.tagcloud.plugin','plugins/tagcloud/TagCloudPlugin.php',0,0,NULL,0,'Tag Cloud Plugin',0), +(2,'ktcore.rss.plugin','plugins/rssplugin/RSSPlugin.php',0,0,NULL,0,'RSS Plugin',0), +(3,'ktcore.language.plugin','plugins/ktcore/KTCoreLanguagePlugin.php',0,0,NULL,0,'Core Language Support',-75), +(4,'ktcore.plugin','plugins/ktcore/KTCorePlugin.php',0,0,NULL,0,'Core Application Functionality',-25), +(5,'ktstandard.adminversion.plugin','plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php',0,0,NULL,0,'Admin Version Notifier',0), +(6,'ktstandard.ldapauthentication.plugin','plugins/ktstandard/KTLDAPAuthenticationPlugin.php',0,0,NULL,0,'LDAP Authentication Plugin',0), +(7,'ktstandard.pdf.plugin','plugins/ktstandard/PDFGeneratorPlugin.php',0,0,NULL,0,'PDF Generator Plugin',0), +(8,'ktstandard.bulkexport.plugin','plugins/ktstandard/KTBulkExportPlugin.php',0,0,NULL,0,'Bulk Export Plugin',0), +(9,'ktstandard.immutableaction.plugin','plugins/ktstandard/ImmutableActionPlugin.php',0,0,NULL,0,'Immutable action plugin',0), +(10,'ktstandard.subscriptions.plugin','plugins/ktstandard/KTSubscriptions.php',0,0,NULL,0,'Subscription Plugin',0), +(11,'ktstandard.discussion.plugin','plugins/ktstandard/KTDiscussion.php',0,0,NULL,0,'Document Discussions Plugin',0), +(12,'ktstandard.email.plugin','plugins/ktstandard/KTEmail.php',0,0,NULL,0,'Email Plugin',0), +(13,'ktstandard.indexer.plugin','plugins/ktstandard/KTIndexer.php',0,0,NULL,0,'Full-text Content Indexing',0), +(14,'ktstandard.documentlinks.plugin','plugins/ktstandard/KTDocumentLinks.php',0,0,NULL,0,'Inter-document linking',0), +(15,'ktstandard.workflowassociation.plugin','plugins/ktstandard/KTWorkflowAssociation.php',0,0,NULL,0,'Workflow Association Plugin',0), +(16,'ktstandard.workflowassociation.documenttype.plugin','plugins/ktstandard/workflow/TypeAssociator.php',0,0,NULL,0,'Workflow allocation by document type',0), +(17,'ktstandard.workflowassociation.folder.plugin','plugins/ktstandard/workflow/FolderAssociator.php',0,0,NULL,0,'Workflow allocation by location',0), +(18,'ktstandard.disclaimers.plugin','plugins/ktstandard/KTDisclaimers.php',0,0,NULL,0,'Disclaimers Plugin',0), +(19,'nbm.browseable.plugin','plugins/browseabledashlet/BrowseableDashletPlugin.php',0,0,NULL,0,'Orphaned Folders Plugin',0), +(20,'ktstandard.ktwebdavdashlet.plugin','plugins/ktstandard/KTWebDAVDashletPlugin.php',0,0,NULL,0,'WebDAV Dashlet Plugin',0), +(21,'ktcore.housekeeper.plugin','plugins/housekeeper/HouseKeeperPlugin.php',0,0,NULL,0,'Housekeeper',0); /*!40000 ALTER TABLE `plugins` ENABLE KEYS */; UNLOCK TABLES; @@ -1068,7 +1257,13 @@ UNLOCK TABLES; LOCK TABLES `roles` WRITE; /*!40000 ALTER TABLE `roles` DISABLE KEYS */; -INSERT INTO `roles` VALUES (-4,'Authenticated Users'),(4,'Creator'),(-3,'Everyone'),(-2,'Owner'),(2,'Publisher'),(3,'Reviewer'); +INSERT INTO `roles` VALUES +(-4,'Authenticated Users'), +(4,'Creator'), +(-3,'Everyone'), +(-2,'Owner'), +(2,'Publisher'), +(3,'Reviewer'); /*!40000 ALTER TABLE `roles` ENABLE KEYS */; UNLOCK TABLES; @@ -1088,17 +1283,17 @@ UNLOCK TABLES; LOCK TABLES `scheduler_tasks` WRITE; /*!40000 ALTER TABLE `scheduler_tasks` DISABLE KEYS */; INSERT INTO `scheduler_tasks` VALUES -(1,'Indexing','search2/bin/cronIndexer.php','',0,'1min','2007-10-01',NULL,0,'system'), -(2,'Index Migration','search2/bin/cronMigration.php','',0,'5mins','2007-10-01',NULL,0,'system'), -(3,'Index Optimization','search2/bin/cronOptimize.php','',0,'weekly','2007-10-01',NULL,0,'system'), -(4,'Periodic Document Expunge','bin/expungeall.php','',0,'weekly','2007-10-01',NULL,0,'disabled'), -(5,'Database Maintenance','bin/dbmaint.php','optimize',0,'monthly','2007-10-01',NULL,0,'disabled'), -(6,'Open Office test','bin/checkopenoffice.php','',0,'1min','2007-10-01',NULL,0,'enabled'), -(7,'Cleanup Temporary Directory','search2/bin/cronCleanup.php','',0,'1min','2007-10-01',NULL,0,'enabled'), -(8,'Disk Usage and Folder Utilisation Statistics','plugins/housekeeper/bin/UpdateStats.php','',0,'5mins','2007-10-01',NULL,0,'enabled'), -(9,'Check Latest Version','plugins/ktstandard/AdminVersionPlugin/bin/UpdateNewVersion.php','',0,'daily','2007-10-01',NULL,0,'enabled'), -(10,'Refresh Index Statistics','search2/bin/cronIndexStats.php','',0,'daily','2007-10-01',NULL,0,'enabled'), -(11,'Refresh Resource Dependancies','search2/bin/cronResources.php','',0,'daily','2007-10-01',NULL,0,'enabled'); +(1,'Indexing','search2/bin/cronIndexer.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'system'), +(2,'Index Migration','search2/bin/cronMigration.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'system'), +(3,'Index Optimization','search2/bin/cronOptimize.php','',0,'weekly','2007-10-01 00:00:00',NULL,0,'system'), +(4,'Periodic Document Expunge','bin/expungeall.php','',0,'weekly','2007-10-01 00:00:00',NULL,0,'disabled'), +(5,'Database Maintenance','bin/dbmaint.php','optimize',0,'monthly','2007-10-01 00:00:00',NULL,0,'disabled'), +(6,'Open Office test','bin/checkopenoffice.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'enabled'), +(7,'Cleanup Temporary Directory','search2/bin/cronCleanup.php','',0,'1min','2007-10-01 00:00:00',NULL,0,'enabled'), +(8,'Disk Usage and Folder Utilisation Statistics','plugins/housekeeper/bin/UpdateStats.php','',0,'5mins','2007-10-01 00:00:00',NULL,0,'enabled'), +(9,'Check Latest Version','plugins/ktstandard/AdminVersionPlugin/bin/UpdateNewVersion.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled'), +(10,'Refresh Index Statistics','search2/bin/cronIndexStats.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled'), +(11,'Refresh Resource Dependancies','search2/bin/cronResources.php','',0,'daily','2007-10-01 00:00:00',NULL,0,'enabled'); /*!40000 ALTER TABLE `scheduler_tasks` ENABLE KEYS */; UNLOCK TABLES; @@ -1117,7 +1312,25 @@ UNLOCK TABLES; LOCK TABLES `search_ranking` WRITE; /*!40000 ALTER TABLE `search_ranking` DISABLE KEYS */; -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'); +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','filename',10,'T'), +('document_content_version','filesize',1,'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'); /*!40000 ALTER TABLE `search_ranking` ENABLE KEYS */; UNLOCK TABLES; @@ -1145,7 +1358,13 @@ UNLOCK TABLES; LOCK TABLES `status_lookup` WRITE; /*!40000 ALTER TABLE `status_lookup` DISABLE KEYS */; -INSERT INTO `status_lookup` VALUES (1,'Live'),(2,'Published'),(3,'Deleted'),(4,'Archived'),(5,'Incomplete'),(6,'Version Deleted'); +INSERT INTO `status_lookup` VALUES +(1,'Live'), +(2,'Published'), +(3,'Deleted'), +(4,'Archived'), +(5,'Incomplete'), +(6,'Version Deleted'); /*!40000 ALTER TABLE `status_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -1155,7 +1374,10 @@ UNLOCK TABLES; LOCK TABLES `system_settings` WRITE; /*!40000 ALTER TABLE `system_settings` DISABLE KEYS */; -INSERT INTO `system_settings` VALUES (1,'lastIndexUpdate','0'),(2,'knowledgeTreeVersion','3.5.2'),(3,'databaseVersion','3.5.2'); +INSERT INTO `system_settings` VALUES +(1,'lastIndexUpdate','0'), +(2,'knowledgeTreeVersion','3.5.2'), +(3,'databaseVersion','3.5.2'); /*!40000 ALTER TABLE `system_settings` ENABLE KEYS */; UNLOCK TABLES; @@ -1183,7 +1405,10 @@ UNLOCK TABLES; LOCK TABLES `time_unit_lookup` WRITE; /*!40000 ALTER TABLE `time_unit_lookup` DISABLE KEYS */; -INSERT INTO `time_unit_lookup` VALUES (1,'Years'),(2,'Months'),(3,'Days'); +INSERT INTO `time_unit_lookup` VALUES +(1,'Years'), +(2,'Months'), +(3,'Days'); /*!40000 ALTER TABLE `time_unit_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -1229,7 +1454,141 @@ UNLOCK TABLES; LOCK TABLES `upgrades` WRITE; /*!40000 ALTER TABLE `upgrades` DISABLE KEYS */; -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'), +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'), (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'), (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'), (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; LOCK TABLES `users` WRITE; /*!40000 ALTER TABLE `users` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `users` ENABLE KEYS */; UNLOCK TABLES; @@ -1316,7 +1677,8 @@ UNLOCK TABLES; LOCK TABLES `users_groups_link` WRITE; /*!40000 ALTER TABLE `users_groups_link` DISABLE KEYS */; -INSERT INTO `users_groups_link` VALUES (1,1,1); +INSERT INTO `users_groups_link` VALUES +(1,1,1); /*!40000 ALTER TABLE `users_groups_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1371,7 +1733,12 @@ UNLOCK TABLES; LOCK TABLES `workflow_state_transitions` WRITE; /*!40000 ALTER TABLE `workflow_state_transitions` DISABLE KEYS */; -INSERT INTO `workflow_state_transitions` VALUES (2,2),(3,3),(3,4),(5,5),(6,6); +INSERT INTO `workflow_state_transitions` VALUES +(2,2), +(3,3), +(3,4), +(5,5), +(6,6); /*!40000 ALTER TABLE `workflow_state_transitions` ENABLE KEYS */; UNLOCK TABLES; @@ -1381,7 +1748,13 @@ UNLOCK TABLES; LOCK TABLES `workflow_states` WRITE; /*!40000 ALTER TABLE `workflow_states` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `workflow_states` ENABLE KEYS */; UNLOCK TABLES; @@ -1391,7 +1764,12 @@ UNLOCK TABLES; LOCK TABLES `workflow_transitions` WRITE; /*!40000 ALTER TABLE `workflow_transitions` DISABLE KEYS */; -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); +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); /*!40000 ALTER TABLE `workflow_transitions` ENABLE KEYS */; UNLOCK TABLES; @@ -1410,7 +1788,9 @@ UNLOCK TABLES; LOCK TABLES `workflows` WRITE; /*!40000 ALTER TABLE `workflows` DISABLE KEYS */; -INSERT INTO `workflows` VALUES (2,'Review Process','Review Process',2,1),(3,'Generate Document','Generate Document',5,1); +INSERT INTO `workflows` VALUES +(2,'Review Process','Review Process',2,1), +(3,'Generate Document','Generate Document',5,1); /*!40000 ALTER TABLE `workflows` ENABLE KEYS */; UNLOCK TABLES; @@ -1420,7 +1800,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_active_sessions` WRITE; /*!40000 ALTER TABLE `zseq_active_sessions` DISABLE KEYS */; -INSERT INTO `zseq_active_sessions` VALUES (1); +INSERT INTO `zseq_active_sessions` VALUES +(1); /*!40000 ALTER TABLE `zseq_active_sessions` ENABLE KEYS */; UNLOCK TABLES; @@ -1430,7 +1811,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_archive_restoration_request` WRITE; /*!40000 ALTER TABLE `zseq_archive_restoration_request` DISABLE KEYS */; -INSERT INTO `zseq_archive_restoration_request` VALUES (1); +INSERT INTO `zseq_archive_restoration_request` VALUES +(1); /*!40000 ALTER TABLE `zseq_archive_restoration_request` ENABLE KEYS */; UNLOCK TABLES; @@ -1440,7 +1822,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_archiving_settings` WRITE; /*!40000 ALTER TABLE `zseq_archiving_settings` DISABLE KEYS */; -INSERT INTO `zseq_archiving_settings` VALUES (1); +INSERT INTO `zseq_archiving_settings` VALUES +(1); /*!40000 ALTER TABLE `zseq_archiving_settings` ENABLE KEYS */; UNLOCK TABLES; @@ -1450,7 +1833,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_archiving_type_lookup` WRITE; /*!40000 ALTER TABLE `zseq_archiving_type_lookup` DISABLE KEYS */; -INSERT INTO `zseq_archiving_type_lookup` VALUES (2); +INSERT INTO `zseq_archiving_type_lookup` VALUES +(2); /*!40000 ALTER TABLE `zseq_archiving_type_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -1460,7 +1844,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_authentication_sources` WRITE; /*!40000 ALTER TABLE `zseq_authentication_sources` DISABLE KEYS */; -INSERT INTO `zseq_authentication_sources` VALUES (1); +INSERT INTO `zseq_authentication_sources` VALUES +(1); /*!40000 ALTER TABLE `zseq_authentication_sources` ENABLE KEYS */; UNLOCK TABLES; @@ -1470,17 +1855,28 @@ UNLOCK TABLES; LOCK TABLES `zseq_column_entries` WRITE; /*!40000 ALTER TABLE `zseq_column_entries` DISABLE KEYS */; -INSERT INTO `zseq_column_entries` VALUES (14); +INSERT INTO `zseq_column_entries` VALUES +(14); /*!40000 ALTER TABLE `zseq_column_entries` ENABLE KEYS */; UNLOCK TABLES; -- +-- Dumping data for table `zseq_config_settings` +-- + +LOCK TABLES `zseq_config_settings` WRITE; +/*!40000 ALTER TABLE `zseq_config_settings` DISABLE KEYS */; +/*!40000 ALTER TABLE `zseq_config_settings` ENABLE KEYS */; +UNLOCK TABLES; + +-- -- Dumping data for table `zseq_dashlet_disables` -- LOCK TABLES `zseq_dashlet_disables` WRITE; /*!40000 ALTER TABLE `zseq_dashlet_disables` DISABLE KEYS */; -INSERT INTO `zseq_dashlet_disables` VALUES (1); +INSERT INTO `zseq_dashlet_disables` VALUES +(1); /*!40000 ALTER TABLE `zseq_dashlet_disables` ENABLE KEYS */; UNLOCK TABLES; @@ -1490,7 +1886,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_data_types` WRITE; /*!40000 ALTER TABLE `zseq_data_types` DISABLE KEYS */; -INSERT INTO `zseq_data_types` VALUES (5); +INSERT INTO `zseq_data_types` VALUES +(5); /*!40000 ALTER TABLE `zseq_data_types` ENABLE KEYS */; UNLOCK TABLES; @@ -1500,7 +1897,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_discussion_comments` WRITE; /*!40000 ALTER TABLE `zseq_discussion_comments` DISABLE KEYS */; -INSERT INTO `zseq_discussion_comments` VALUES (1); +INSERT INTO `zseq_discussion_comments` VALUES +(1); /*!40000 ALTER TABLE `zseq_discussion_comments` ENABLE KEYS */; UNLOCK TABLES; @@ -1510,7 +1908,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_discussion_threads` WRITE; /*!40000 ALTER TABLE `zseq_discussion_threads` DISABLE KEYS */; -INSERT INTO `zseq_discussion_threads` VALUES (1); +INSERT INTO `zseq_discussion_threads` VALUES +(1); /*!40000 ALTER TABLE `zseq_discussion_threads` ENABLE KEYS */; UNLOCK TABLES; @@ -1520,7 +1919,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_archiving_link` WRITE; /*!40000 ALTER TABLE `zseq_document_archiving_link` DISABLE KEYS */; -INSERT INTO `zseq_document_archiving_link` VALUES (1); +INSERT INTO `zseq_document_archiving_link` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_archiving_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1530,7 +1930,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_content_version` WRITE; /*!40000 ALTER TABLE `zseq_document_content_version` DISABLE KEYS */; -INSERT INTO `zseq_document_content_version` VALUES (1); +INSERT INTO `zseq_document_content_version` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_content_version` ENABLE KEYS */; UNLOCK TABLES; @@ -1540,7 +1941,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_fields` WRITE; /*!40000 ALTER TABLE `zseq_document_fields` DISABLE KEYS */; -INSERT INTO `zseq_document_fields` VALUES (5); +INSERT INTO `zseq_document_fields` VALUES +(5); /*!40000 ALTER TABLE `zseq_document_fields` ENABLE KEYS */; UNLOCK TABLES; @@ -1550,7 +1952,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_fields_link` WRITE; /*!40000 ALTER TABLE `zseq_document_fields_link` DISABLE KEYS */; -INSERT INTO `zseq_document_fields_link` VALUES (1); +INSERT INTO `zseq_document_fields_link` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_fields_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1560,7 +1963,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_link` WRITE; /*!40000 ALTER TABLE `zseq_document_link` DISABLE KEYS */; -INSERT INTO `zseq_document_link` VALUES (1); +INSERT INTO `zseq_document_link` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1570,7 +1974,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_link_types` WRITE; /*!40000 ALTER TABLE `zseq_document_link_types` DISABLE KEYS */; -INSERT INTO `zseq_document_link_types` VALUES (5); +INSERT INTO `zseq_document_link_types` VALUES +(5); /*!40000 ALTER TABLE `zseq_document_link_types` ENABLE KEYS */; UNLOCK TABLES; @@ -1580,7 +1985,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_metadata_version` WRITE; /*!40000 ALTER TABLE `zseq_document_metadata_version` DISABLE KEYS */; -INSERT INTO `zseq_document_metadata_version` VALUES (1); +INSERT INTO `zseq_document_metadata_version` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_metadata_version` ENABLE KEYS */; UNLOCK TABLES; @@ -1599,7 +2005,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_subscriptions` WRITE; /*!40000 ALTER TABLE `zseq_document_subscriptions` DISABLE KEYS */; -INSERT INTO `zseq_document_subscriptions` VALUES (1); +INSERT INTO `zseq_document_subscriptions` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_subscriptions` ENABLE KEYS */; UNLOCK TABLES; @@ -1609,7 +2016,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_tags` WRITE; /*!40000 ALTER TABLE `zseq_document_tags` DISABLE KEYS */; -INSERT INTO `zseq_document_tags` VALUES (1); +INSERT INTO `zseq_document_tags` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_tags` ENABLE KEYS */; UNLOCK TABLES; @@ -1619,7 +2027,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_transaction_types_lookup` WRITE; /*!40000 ALTER TABLE `zseq_document_transaction_types_lookup` DISABLE KEYS */; -INSERT INTO `zseq_document_transaction_types_lookup` VALUES (21); +INSERT INTO `zseq_document_transaction_types_lookup` VALUES +(21); /*!40000 ALTER TABLE `zseq_document_transaction_types_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -1629,7 +2038,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_transactions` WRITE; /*!40000 ALTER TABLE `zseq_document_transactions` DISABLE KEYS */; -INSERT INTO `zseq_document_transactions` VALUES (1); +INSERT INTO `zseq_document_transactions` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_transactions` ENABLE KEYS */; UNLOCK TABLES; @@ -1639,7 +2049,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_type_fields_link` WRITE; /*!40000 ALTER TABLE `zseq_document_type_fields_link` DISABLE KEYS */; -INSERT INTO `zseq_document_type_fields_link` VALUES (1); +INSERT INTO `zseq_document_type_fields_link` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_type_fields_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1649,7 +2060,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_type_fieldsets_link` WRITE; /*!40000 ALTER TABLE `zseq_document_type_fieldsets_link` DISABLE KEYS */; -INSERT INTO `zseq_document_type_fieldsets_link` VALUES (1); +INSERT INTO `zseq_document_type_fieldsets_link` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_type_fieldsets_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1659,7 +2071,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_document_types_lookup` WRITE; /*!40000 ALTER TABLE `zseq_document_types_lookup` DISABLE KEYS */; -INSERT INTO `zseq_document_types_lookup` VALUES (1); +INSERT INTO `zseq_document_types_lookup` VALUES +(1); /*!40000 ALTER TABLE `zseq_document_types_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -1669,7 +2082,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_documents` WRITE; /*!40000 ALTER TABLE `zseq_documents` DISABLE KEYS */; -INSERT INTO `zseq_documents` VALUES (1); +INSERT INTO `zseq_documents` VALUES +(1); /*!40000 ALTER TABLE `zseq_documents` ENABLE KEYS */; UNLOCK TABLES; @@ -1679,7 +2093,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_field_behaviours` WRITE; /*!40000 ALTER TABLE `zseq_field_behaviours` DISABLE KEYS */; -INSERT INTO `zseq_field_behaviours` VALUES (1); +INSERT INTO `zseq_field_behaviours` VALUES +(1); /*!40000 ALTER TABLE `zseq_field_behaviours` ENABLE KEYS */; UNLOCK TABLES; @@ -1689,7 +2104,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_field_value_instances` WRITE; /*!40000 ALTER TABLE `zseq_field_value_instances` DISABLE KEYS */; -INSERT INTO `zseq_field_value_instances` VALUES (1); +INSERT INTO `zseq_field_value_instances` VALUES +(1); /*!40000 ALTER TABLE `zseq_field_value_instances` ENABLE KEYS */; UNLOCK TABLES; @@ -1699,7 +2115,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_fieldsets` WRITE; /*!40000 ALTER TABLE `zseq_fieldsets` DISABLE KEYS */; -INSERT INTO `zseq_fieldsets` VALUES (3); +INSERT INTO `zseq_fieldsets` VALUES +(3); /*!40000 ALTER TABLE `zseq_fieldsets` ENABLE KEYS */; UNLOCK TABLES; @@ -1709,7 +2126,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_folder_doctypes_link` WRITE; /*!40000 ALTER TABLE `zseq_folder_doctypes_link` DISABLE KEYS */; -INSERT INTO `zseq_folder_doctypes_link` VALUES (2); +INSERT INTO `zseq_folder_doctypes_link` VALUES +(2); /*!40000 ALTER TABLE `zseq_folder_doctypes_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1719,7 +2137,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_folder_subscriptions` WRITE; /*!40000 ALTER TABLE `zseq_folder_subscriptions` DISABLE KEYS */; -INSERT INTO `zseq_folder_subscriptions` VALUES (1); +INSERT INTO `zseq_folder_subscriptions` VALUES +(1); /*!40000 ALTER TABLE `zseq_folder_subscriptions` ENABLE KEYS */; UNLOCK TABLES; @@ -1738,7 +2157,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_folders` WRITE; /*!40000 ALTER TABLE `zseq_folders` DISABLE KEYS */; -INSERT INTO `zseq_folders` VALUES (2); +INSERT INTO `zseq_folders` VALUES +(2); /*!40000 ALTER TABLE `zseq_folders` ENABLE KEYS */; UNLOCK TABLES; @@ -1748,7 +2168,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_folders_users_roles_link` WRITE; /*!40000 ALTER TABLE `zseq_folders_users_roles_link` DISABLE KEYS */; -INSERT INTO `zseq_folders_users_roles_link` VALUES (1); +INSERT INTO `zseq_folders_users_roles_link` VALUES +(1); /*!40000 ALTER TABLE `zseq_folders_users_roles_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1758,7 +2179,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_groups_groups_link` WRITE; /*!40000 ALTER TABLE `zseq_groups_groups_link` DISABLE KEYS */; -INSERT INTO `zseq_groups_groups_link` VALUES (1); +INSERT INTO `zseq_groups_groups_link` VALUES +(1); /*!40000 ALTER TABLE `zseq_groups_groups_link` ENABLE KEYS */; UNLOCK TABLES; @@ -1768,7 +2190,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_groups_lookup` WRITE; /*!40000 ALTER TABLE `zseq_groups_lookup` DISABLE KEYS */; -INSERT INTO `zseq_groups_lookup` VALUES (3); +INSERT INTO `zseq_groups_lookup` VALUES +(3); /*!40000 ALTER TABLE `zseq_groups_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -1778,7 +2201,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_help` WRITE; /*!40000 ALTER TABLE `zseq_help` DISABLE KEYS */; -INSERT INTO `zseq_help` VALUES (100); +INSERT INTO `zseq_help` VALUES +(100); /*!40000 ALTER TABLE `zseq_help` ENABLE KEYS */; UNLOCK TABLES; @@ -1788,7 +2212,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_help_replacement` WRITE; /*!40000 ALTER TABLE `zseq_help_replacement` DISABLE KEYS */; -INSERT INTO `zseq_help_replacement` VALUES (1); +INSERT INTO `zseq_help_replacement` VALUES +(1); /*!40000 ALTER TABLE `zseq_help_replacement` ENABLE KEYS */; UNLOCK TABLES; @@ -1807,7 +2232,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_links` WRITE; /*!40000 ALTER TABLE `zseq_links` DISABLE KEYS */; -INSERT INTO `zseq_links` VALUES (1); +INSERT INTO `zseq_links` VALUES +(1); /*!40000 ALTER TABLE `zseq_links` ENABLE KEYS */; UNLOCK TABLES; @@ -1817,7 +2243,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_metadata_lookup` WRITE; /*!40000 ALTER TABLE `zseq_metadata_lookup` DISABLE KEYS */; -INSERT INTO `zseq_metadata_lookup` VALUES (11); +INSERT INTO `zseq_metadata_lookup` VALUES +(11); /*!40000 ALTER TABLE `zseq_metadata_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -1827,7 +2254,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_metadata_lookup_tree` WRITE; /*!40000 ALTER TABLE `zseq_metadata_lookup_tree` DISABLE KEYS */; -INSERT INTO `zseq_metadata_lookup_tree` VALUES (1); +INSERT INTO `zseq_metadata_lookup_tree` VALUES +(1); /*!40000 ALTER TABLE `zseq_metadata_lookup_tree` ENABLE KEYS */; UNLOCK TABLES; @@ -1846,7 +2274,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_mime_extractors` WRITE; /*!40000 ALTER TABLE `zseq_mime_extractors` DISABLE KEYS */; -INSERT INTO `zseq_mime_extractors` VALUES (1); +INSERT INTO `zseq_mime_extractors` VALUES +(1); /*!40000 ALTER TABLE `zseq_mime_extractors` ENABLE KEYS */; UNLOCK TABLES; @@ -1856,7 +2285,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_mime_types` WRITE; /*!40000 ALTER TABLE `zseq_mime_types` DISABLE KEYS */; -INSERT INTO `zseq_mime_types` VALUES (171); +INSERT INTO `zseq_mime_types` VALUES +(171); /*!40000 ALTER TABLE `zseq_mime_types` ENABLE KEYS */; UNLOCK TABLES; @@ -1866,7 +2296,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_news` WRITE; /*!40000 ALTER TABLE `zseq_news` DISABLE KEYS */; -INSERT INTO `zseq_news` VALUES (1); +INSERT INTO `zseq_news` VALUES +(1); /*!40000 ALTER TABLE `zseq_news` ENABLE KEYS */; UNLOCK TABLES; @@ -1876,7 +2307,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_notifications` WRITE; /*!40000 ALTER TABLE `zseq_notifications` DISABLE KEYS */; -INSERT INTO `zseq_notifications` VALUES (1); +INSERT INTO `zseq_notifications` VALUES +(1); /*!40000 ALTER TABLE `zseq_notifications` ENABLE KEYS */; UNLOCK TABLES; @@ -1886,7 +2318,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_organisations_lookup` WRITE; /*!40000 ALTER TABLE `zseq_organisations_lookup` DISABLE KEYS */; -INSERT INTO `zseq_organisations_lookup` VALUES (1); +INSERT INTO `zseq_organisations_lookup` VALUES +(1); /*!40000 ALTER TABLE `zseq_organisations_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -1896,7 +2329,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_permission_assignments` WRITE; /*!40000 ALTER TABLE `zseq_permission_assignments` DISABLE KEYS */; -INSERT INTO `zseq_permission_assignments` VALUES (8); +INSERT INTO `zseq_permission_assignments` VALUES +(8); /*!40000 ALTER TABLE `zseq_permission_assignments` ENABLE KEYS */; UNLOCK TABLES; @@ -1906,7 +2340,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_permission_descriptors` WRITE; /*!40000 ALTER TABLE `zseq_permission_descriptors` DISABLE KEYS */; -INSERT INTO `zseq_permission_descriptors` VALUES (2); +INSERT INTO `zseq_permission_descriptors` VALUES +(2); /*!40000 ALTER TABLE `zseq_permission_descriptors` ENABLE KEYS */; UNLOCK TABLES; @@ -1916,7 +2351,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_permission_dynamic_conditions` WRITE; /*!40000 ALTER TABLE `zseq_permission_dynamic_conditions` DISABLE KEYS */; -INSERT INTO `zseq_permission_dynamic_conditions` VALUES (1); +INSERT INTO `zseq_permission_dynamic_conditions` VALUES +(1); /*!40000 ALTER TABLE `zseq_permission_dynamic_conditions` ENABLE KEYS */; UNLOCK TABLES; @@ -1926,7 +2362,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_permission_lookup_assignments` WRITE; /*!40000 ALTER TABLE `zseq_permission_lookup_assignments` DISABLE KEYS */; -INSERT INTO `zseq_permission_lookup_assignments` VALUES (24); +INSERT INTO `zseq_permission_lookup_assignments` VALUES +(24); /*!40000 ALTER TABLE `zseq_permission_lookup_assignments` ENABLE KEYS */; UNLOCK TABLES; @@ -1936,7 +2373,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_permission_lookups` WRITE; /*!40000 ALTER TABLE `zseq_permission_lookups` DISABLE KEYS */; -INSERT INTO `zseq_permission_lookups` VALUES (5); +INSERT INTO `zseq_permission_lookups` VALUES +(5); /*!40000 ALTER TABLE `zseq_permission_lookups` ENABLE KEYS */; UNLOCK TABLES; @@ -1946,7 +2384,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_permission_objects` WRITE; /*!40000 ALTER TABLE `zseq_permission_objects` DISABLE KEYS */; -INSERT INTO `zseq_permission_objects` VALUES (1); +INSERT INTO `zseq_permission_objects` VALUES +(1); /*!40000 ALTER TABLE `zseq_permission_objects` ENABLE KEYS */; UNLOCK TABLES; @@ -1956,17 +2395,28 @@ UNLOCK TABLES; LOCK TABLES `zseq_permissions` WRITE; /*!40000 ALTER TABLE `zseq_permissions` DISABLE KEYS */; -INSERT INTO `zseq_permissions` VALUES (8); +INSERT INTO `zseq_permissions` VALUES +(8); /*!40000 ALTER TABLE `zseq_permissions` ENABLE KEYS */; UNLOCK TABLES; -- +-- Dumping data for table `zseq_plugin_helper` +-- + +LOCK TABLES `zseq_plugin_helper` WRITE; +/*!40000 ALTER TABLE `zseq_plugin_helper` DISABLE KEYS */; +/*!40000 ALTER TABLE `zseq_plugin_helper` ENABLE KEYS */; +UNLOCK TABLES; + +-- -- Dumping data for table `zseq_plugin_rss` -- LOCK TABLES `zseq_plugin_rss` WRITE; /*!40000 ALTER TABLE `zseq_plugin_rss` DISABLE KEYS */; -INSERT INTO `zseq_plugin_rss` VALUES (1); +INSERT INTO `zseq_plugin_rss` VALUES +(1); /*!40000 ALTER TABLE `zseq_plugin_rss` ENABLE KEYS */; UNLOCK TABLES; @@ -1976,7 +2426,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_plugins` WRITE; /*!40000 ALTER TABLE `zseq_plugins` DISABLE KEYS */; -INSERT INTO `zseq_plugins` VALUES (21); +INSERT INTO `zseq_plugins` VALUES +(21); /*!40000 ALTER TABLE `zseq_plugins` ENABLE KEYS */; UNLOCK TABLES; @@ -1986,7 +2437,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_role_allocations` WRITE; /*!40000 ALTER TABLE `zseq_role_allocations` DISABLE KEYS */; -INSERT INTO `zseq_role_allocations` VALUES (1); +INSERT INTO `zseq_role_allocations` VALUES +(1); /*!40000 ALTER TABLE `zseq_role_allocations` ENABLE KEYS */; UNLOCK TABLES; @@ -1996,7 +2448,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_roles` WRITE; /*!40000 ALTER TABLE `zseq_roles` DISABLE KEYS */; -INSERT INTO `zseq_roles` VALUES (4); +INSERT INTO `zseq_roles` VALUES +(4); /*!40000 ALTER TABLE `zseq_roles` ENABLE KEYS */; UNLOCK TABLES; @@ -2006,7 +2459,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_saved_searches` WRITE; /*!40000 ALTER TABLE `zseq_saved_searches` DISABLE KEYS */; -INSERT INTO `zseq_saved_searches` VALUES (1); +INSERT INTO `zseq_saved_searches` VALUES +(1); /*!40000 ALTER TABLE `zseq_saved_searches` ENABLE KEYS */; UNLOCK TABLES; @@ -2016,7 +2470,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_scheduler_tasks` WRITE; /*!40000 ALTER TABLE `zseq_scheduler_tasks` DISABLE KEYS */; -INSERT INTO `zseq_scheduler_tasks` VALUES (11); +INSERT INTO `zseq_scheduler_tasks` VALUES +(11); /*!40000 ALTER TABLE `zseq_scheduler_tasks` ENABLE KEYS */; UNLOCK TABLES; @@ -2035,7 +2490,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_status_lookup` WRITE; /*!40000 ALTER TABLE `zseq_status_lookup` DISABLE KEYS */; -INSERT INTO `zseq_status_lookup` VALUES (6); +INSERT INTO `zseq_status_lookup` VALUES +(6); /*!40000 ALTER TABLE `zseq_status_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -2045,7 +2501,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_system_settings` WRITE; /*!40000 ALTER TABLE `zseq_system_settings` DISABLE KEYS */; -INSERT INTO `zseq_system_settings` VALUES (3); +INSERT INTO `zseq_system_settings` VALUES +(3); /*!40000 ALTER TABLE `zseq_system_settings` ENABLE KEYS */; UNLOCK TABLES; @@ -2055,7 +2512,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_tag_words` WRITE; /*!40000 ALTER TABLE `zseq_tag_words` DISABLE KEYS */; -INSERT INTO `zseq_tag_words` VALUES (1); +INSERT INTO `zseq_tag_words` VALUES +(1); /*!40000 ALTER TABLE `zseq_tag_words` ENABLE KEYS */; UNLOCK TABLES; @@ -2065,7 +2523,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_time_period` WRITE; /*!40000 ALTER TABLE `zseq_time_period` DISABLE KEYS */; -INSERT INTO `zseq_time_period` VALUES (1); +INSERT INTO `zseq_time_period` VALUES +(1); /*!40000 ALTER TABLE `zseq_time_period` ENABLE KEYS */; UNLOCK TABLES; @@ -2075,7 +2534,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_time_unit_lookup` WRITE; /*!40000 ALTER TABLE `zseq_time_unit_lookup` DISABLE KEYS */; -INSERT INTO `zseq_time_unit_lookup` VALUES (3); +INSERT INTO `zseq_time_unit_lookup` VALUES +(3); /*!40000 ALTER TABLE `zseq_time_unit_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -2085,7 +2545,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_units_lookup` WRITE; /*!40000 ALTER TABLE `zseq_units_lookup` DISABLE KEYS */; -INSERT INTO `zseq_units_lookup` VALUES (1); +INSERT INTO `zseq_units_lookup` VALUES +(1); /*!40000 ALTER TABLE `zseq_units_lookup` ENABLE KEYS */; UNLOCK TABLES; @@ -2095,7 +2556,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_units_organisations_link` WRITE; /*!40000 ALTER TABLE `zseq_units_organisations_link` DISABLE KEYS */; -INSERT INTO `zseq_units_organisations_link` VALUES (1); +INSERT INTO `zseq_units_organisations_link` VALUES +(1); /*!40000 ALTER TABLE `zseq_units_organisations_link` ENABLE KEYS */; UNLOCK TABLES; @@ -2105,7 +2567,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_upgrades` WRITE; /*!40000 ALTER TABLE `zseq_upgrades` DISABLE KEYS */; -INSERT INTO `zseq_upgrades` VALUES (184); +INSERT INTO `zseq_upgrades` VALUES +(184); /*!40000 ALTER TABLE `zseq_upgrades` ENABLE KEYS */; UNLOCK TABLES; @@ -2124,7 +2587,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_users` WRITE; /*!40000 ALTER TABLE `zseq_users` DISABLE KEYS */; -INSERT INTO `zseq_users` VALUES (3); +INSERT INTO `zseq_users` VALUES +(3); /*!40000 ALTER TABLE `zseq_users` ENABLE KEYS */; UNLOCK TABLES; @@ -2134,7 +2598,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_users_groups_link` WRITE; /*!40000 ALTER TABLE `zseq_users_groups_link` DISABLE KEYS */; -INSERT INTO `zseq_users_groups_link` VALUES (3); +INSERT INTO `zseq_users_groups_link` VALUES +(3); /*!40000 ALTER TABLE `zseq_users_groups_link` ENABLE KEYS */; UNLOCK TABLES; @@ -2162,7 +2627,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_workflow_states` WRITE; /*!40000 ALTER TABLE `zseq_workflow_states` DISABLE KEYS */; -INSERT INTO `zseq_workflow_states` VALUES (7); +INSERT INTO `zseq_workflow_states` VALUES +(7); /*!40000 ALTER TABLE `zseq_workflow_states` ENABLE KEYS */; UNLOCK TABLES; @@ -2172,7 +2638,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_workflow_transitions` WRITE; /*!40000 ALTER TABLE `zseq_workflow_transitions` DISABLE KEYS */; -INSERT INTO `zseq_workflow_transitions` VALUES (6); +INSERT INTO `zseq_workflow_transitions` VALUES +(6); /*!40000 ALTER TABLE `zseq_workflow_transitions` ENABLE KEYS */; UNLOCK TABLES; @@ -2191,7 +2658,8 @@ UNLOCK TABLES; LOCK TABLES `zseq_workflows` WRITE; /*!40000 ALTER TABLE `zseq_workflows` DISABLE KEYS */; -INSERT INTO `zseq_workflows` VALUES (3); +INSERT INTO `zseq_workflows` VALUES +(3); /*!40000 ALTER TABLE `zseq_workflows` ENABLE KEYS */; UNLOCK TABLES; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; @@ -2204,4 +2672,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2007-10-23 13:43:26 +-- Dump completed on 2008-06-26 13:51:02 diff --git a/sql/mysql/install/dump.sh b/sql/mysql/install/dump.sh index bc89ae6..0bea1ca 100755 --- a/sql/mysql/install/dump.sh +++ b/sql/mysql/install/dump.sh @@ -14,5 +14,13 @@ DATE=`date +%Y-%m-%d-%H-%M-%S` # Create the Structure Dump mysqldump -u root -p $DB --no-data --skip-add-drop-table > structure-$DATE.sql +cat structure-$DATE.sql | sed 's/ AUTO_INCREMENT=[0-9]*//g' > structure.tmp +mv structure.tmp structure-$DATE.sql + # Create the Data Dump mysqldump -u root -p $DB --no-create-info > data-$DATE.sql + + +sed "s/[)],[(]/),\n(/g" data-$DATE.sql > data.tmp +sed "s/VALUES [(]/VALUES\n(/g" data.tmp > data-$DATE.sql +rm data.tmp diff --git a/sql/mysql/install/structure.sql b/sql/mysql/install/structure.sql index b5d48cc..d54a899 100644 --- a/sql/mysql/install/structure.sql +++ b/sql/mysql/install/structure.sql @@ -1,38 +1,3 @@ --- --- $Id$ --- --- KnowledgeTree Community Edition --- Document Management Made Simple --- Copyright (C) 2008 KnowledgeTree Inc. --- Portions copyright The Jam Warehouse Software (Pty) Limited --- --- This program is free software; you can redistribute it and/or modify it under --- the terms of the GNU General Public License version 3 as published by the --- Free Software Foundation. --- --- This program is distributed in the hope that it will be useful, but WITHOUT --- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS --- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more --- details. --- --- You should have received a copy of the GNU General Public License --- along with this program. If not, see . --- --- You can contact KnowledgeTree Inc., PO Box 7775 #87847, San Francisco, --- California 94120-7775, or email info@knowledgetree.com. --- --- The interactive user interfaces in modified source and object code versions --- of this program must display Appropriate Legal Notices, as required under --- Section 5 of the GNU General Public License version 3. --- --- In accordance with Section 7(b) of the GNU General Public License version 3, --- these Appropriate Legal Notices must retain the display of the "Powered by --- KnowledgeTree" logo and retain the original copyright notice. If the display of the --- logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices --- must display the words "Powered by KnowledgeTree" and retain the original --- copyright notice. --- Contributor( s): ______________________________________ --- -- MySQL dump 10.11 -- -- Host: localhost Database: ktdms @@ -55,7 +20,7 @@ -- CREATE TABLE `active_sessions` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `user_id` int(11) default NULL, `session_id` char(255) default NULL, `lastused` datetime default NULL, @@ -71,7 +36,7 @@ CREATE TABLE `active_sessions` ( -- CREATE TABLE `archive_restoration_request` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_id` int(11) NOT NULL default '0', `request_user_id` int(11) NOT NULL default '0', `admin_user_id` int(11) NOT NULL default '0', @@ -90,7 +55,7 @@ CREATE TABLE `archive_restoration_request` ( -- CREATE TABLE `archiving_settings` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `archiving_type_id` int(11) NOT NULL default '0', `expiration_date` date default NULL, `document_transaction_id` int(11) default NULL, @@ -107,7 +72,7 @@ CREATE TABLE `archiving_settings` ( -- CREATE TABLE `archiving_type_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(100) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -117,7 +82,7 @@ CREATE TABLE `archiving_type_lookup` ( -- CREATE TABLE `authentication_sources` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` varchar(50) NOT NULL default '', `namespace` varchar(255) NOT NULL default '', `authentication_provider` varchar(255) NOT NULL default '', @@ -133,7 +98,7 @@ CREATE TABLE `authentication_sources` ( -- CREATE TABLE `column_entries` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `column_namespace` varchar(255) NOT NULL default '', `view_namespace` varchar(255) NOT NULL default '', `config_array` text NOT NULL, @@ -161,7 +126,7 @@ CREATE TABLE `comment_searchable_text` ( -- CREATE TABLE `config_settings` ( - `id` int(255) unsigned NOT NULL, + `id` int(11) NOT NULL auto_increment, `group_name` varchar(255) NOT NULL default '0', `item` varchar(255) NOT NULL default '0', `type` varchar(255) NOT NULL default '0', @@ -177,7 +142,7 @@ CREATE TABLE `config_settings` ( -- CREATE TABLE `dashlet_disables` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL default '0', `dashlet_namespace` varchar(255) NOT NULL default '', PRIMARY KEY (`id`), @@ -191,7 +156,7 @@ CREATE TABLE `dashlet_disables` ( -- CREATE TABLE `data_types` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(255) NOT NULL default '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -201,7 +166,7 @@ CREATE TABLE `data_types` ( -- CREATE TABLE `discussion_comments` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `thread_id` int(11) NOT NULL default '0', `in_reply_to` int(11) default NULL, `user_id` int(11) NOT NULL default '0', @@ -222,10 +187,10 @@ CREATE TABLE `discussion_comments` ( -- CREATE TABLE `discussion_threads` ( - `id` int(11) NOT NULL, + `id` int(11) NOT NULL auto_increment, `document_id` int(11) NOT NULL, - `first_comment_id` int(11) NULL, - `last_comment_id` int(11) NULL, + `first_comment_id` int(11) default NULL, + `last_comment_id` int(11) default NULL, `views` int(11) NOT NULL default '0', `replies` int(11) NOT NULL default '0', `creator_id` int(11) NOT NULL, @@ -248,7 +213,7 @@ CREATE TABLE `discussion_threads` ( -- CREATE TABLE `document_archiving_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_id` int(11) NOT NULL default '0', `archiving_settings_id` int(11) NOT NULL default '0', PRIMARY KEY (`id`), @@ -263,7 +228,7 @@ CREATE TABLE `document_archiving_link` ( -- CREATE TABLE `document_content_version` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_id` int(11) NOT NULL default '0', `filename` mediumtext NOT NULL, `size` bigint(20) NOT NULL default '0', @@ -287,7 +252,7 @@ CREATE TABLE `document_content_version` ( -- CREATE TABLE `document_fields` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '', `data_type` varchar(100) NOT NULL default '', `is_generic` tinyint(1) default NULL, @@ -307,9 +272,9 @@ CREATE TABLE `document_fields` ( -- CREATE TABLE `document_fields_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_field_id` int(11) NOT NULL default '0', - `value` mediumtext NOT NULL default '', + `value` mediumtext NOT NULL, `metadata_version_id` int(11) default NULL, PRIMARY KEY (`id`), KEY `document_field_id` (`document_field_id`), @@ -323,7 +288,7 @@ CREATE TABLE `document_fields_link` ( -- CREATE TABLE `document_incomplete` ( - `id` int(10) unsigned NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `contents` tinyint(1) unsigned NOT NULL default '0', `metadata` tinyint(1) unsigned NOT NULL default '0', PRIMARY KEY (`id`) @@ -334,12 +299,12 @@ CREATE TABLE `document_incomplete` ( -- CREATE TABLE `document_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `parent_document_id` int(11) NOT NULL default '0', `child_document_id` int(11) NOT NULL default '0', `link_type_id` int(11) NOT NULL default '0', - `external_url` varchar(255), - `external_name` varchar(50), + `external_url` varchar(255) default NULL, + `external_name` varchar(50) default NULL, PRIMARY KEY (`id`), KEY `parent_document_id` (`parent_document_id`), KEY `child_document_id` (`child_document_id`), @@ -354,7 +319,7 @@ CREATE TABLE `document_link` ( -- CREATE TABLE `document_link_types` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(100) NOT NULL default '', `reverse_name` char(100) NOT NULL default '', `description` char(255) NOT NULL default '', @@ -366,7 +331,7 @@ CREATE TABLE `document_link_types` ( -- CREATE TABLE `document_metadata_version` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_id` int(11) NOT NULL default '0', `content_version_id` int(11) NOT NULL default '0', `document_type_id` int(11) NOT NULL default '0', @@ -401,7 +366,7 @@ CREATE TABLE `document_metadata_version` ( -- CREATE TABLE `document_role_allocations` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_id` int(11) NOT NULL default '0', `role_id` int(11) NOT NULL default '0', `permission_descriptor_id` int(11) NOT NULL default '0', @@ -429,7 +394,7 @@ CREATE TABLE `document_searchable_text` ( -- CREATE TABLE `document_subscriptions` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL default '0', `document_id` int(11) NOT NULL default '0', `is_alerted` tinyint(1) default NULL, @@ -480,7 +445,7 @@ CREATE TABLE `document_transaction_text` ( -- CREATE TABLE `document_transaction_types_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', `namespace` varchar(250) NOT NULL default '', PRIMARY KEY (`id`), @@ -492,21 +457,21 @@ CREATE TABLE `document_transaction_types_lookup` ( -- CREATE TABLE `document_transactions` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_id` int(11) default NULL, `version` float default NULL, `user_id` int(11) default NULL, `datetime` datetime NOT NULL default '0000-00-00 00:00:00', `ip` varchar(15) default NULL, - `filename` mediumtext NOT NULL default '', - `comment` mediumtext NOT NULL default '', + `filename` mediumtext NOT NULL, + `comment` mediumtext NOT NULL, `transaction_namespace` varchar(255) NOT NULL default 'ktcore.transactions.event', `session_id` int(11) default NULL, `admin_mode` tinyint(1) NOT NULL default '0', PRIMARY KEY (`id`), KEY `session_id` (`session_id`), KEY `document_id` (`document_id`), - KEY (`datetime`,`transaction_namespace`) + KEY `datetime` (`datetime`,`transaction_namespace`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- @@ -514,7 +479,7 @@ CREATE TABLE `document_transactions` ( -- CREATE TABLE `document_type_fields_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_type_id` int(11) NOT NULL default '0', `field_id` int(11) NOT NULL default '0', `is_mandatory` tinyint(1) NOT NULL default '0', @@ -530,7 +495,7 @@ CREATE TABLE `document_type_fields_link` ( -- CREATE TABLE `document_type_fieldsets_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_type_id` int(11) NOT NULL default '0', `fieldset_id` int(11) NOT NULL default '0', PRIMARY KEY (`id`), @@ -545,7 +510,7 @@ CREATE TABLE `document_type_fieldsets_link` ( -- CREATE TABLE `document_types_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(100) default NULL, `disabled` tinyint(4) NOT NULL default '0', PRIMARY KEY (`id`), @@ -557,7 +522,7 @@ CREATE TABLE `document_types_lookup` ( -- CREATE TABLE `documents` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `creator_id` int(11) default NULL, `modified` datetime NOT NULL default '0000-00-00 00:00:00', `folder_id` int(11) default NULL, @@ -640,7 +605,7 @@ CREATE TABLE `field_behaviour_options` ( -- CREATE TABLE `field_behaviours` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(255) NOT NULL default '', `human_name` char(100) NOT NULL default '', `field_id` int(11) NOT NULL default '0', @@ -671,7 +636,7 @@ CREATE TABLE `field_orders` ( -- CREATE TABLE `field_value_instances` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `field_id` int(11) NOT NULL default '0', `field_value_id` int(11) NOT NULL default '0', `behaviour_id` int(11) default '0', @@ -689,7 +654,7 @@ CREATE TABLE `field_value_instances` ( -- CREATE TABLE `fieldsets` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '', `namespace` varchar(255) NOT NULL default '', `mandatory` tinyint(4) NOT NULL default '0', @@ -727,7 +692,7 @@ CREATE TABLE `folder_descendants` ( -- CREATE TABLE `folder_doctypes_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `folder_id` int(11) NOT NULL default '0', `document_type_id` int(11) NOT NULL default '0', PRIMARY KEY (`id`), @@ -753,7 +718,7 @@ CREATE TABLE `folder_searchable_text` ( -- CREATE TABLE `folder_subscriptions` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL default '0', `folder_id` int(11) NOT NULL default '0', `is_alerted` tinyint(1) default NULL, @@ -769,7 +734,7 @@ CREATE TABLE `folder_subscriptions` ( -- CREATE TABLE `folder_transactions` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `folder_id` int(11) default NULL, `user_id` int(11) default NULL, `datetime` datetime NOT NULL default '0000-00-00 00:00:00', @@ -801,7 +766,7 @@ CREATE TABLE `folder_workflow_map` ( -- CREATE TABLE `folders` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` varchar(255) default NULL, `description` varchar(255) default NULL, `parent_id` int(11) default NULL, @@ -829,7 +794,7 @@ CREATE TABLE `folders` ( -- CREATE TABLE `folders_users_roles_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `group_folder_approval_id` int(11) NOT NULL default '0', `user_id` int(11) NOT NULL default '0', `document_id` int(11) NOT NULL default '0', @@ -849,7 +814,7 @@ CREATE TABLE `folders_users_roles_link` ( -- CREATE TABLE `groups_groups_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `parent_group_id` int(11) NOT NULL default '0', `member_group_id` int(11) NOT NULL default '0', PRIMARY KEY (`id`), @@ -864,7 +829,7 @@ CREATE TABLE `groups_groups_link` ( -- CREATE TABLE `groups_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', `is_sys_admin` tinyint(1) NOT NULL default '0', `is_unit_admin` tinyint(1) NOT NULL default '0', @@ -884,7 +849,7 @@ CREATE TABLE `groups_lookup` ( -- CREATE TABLE `help` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `fSection` varchar(100) NOT NULL default '', `help_info` mediumtext NOT NULL, PRIMARY KEY (`id`) @@ -895,7 +860,7 @@ CREATE TABLE `help` ( -- CREATE TABLE `help_replacement` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL default '', `description` mediumtext NOT NULL, `title` varchar(255) NOT NULL default '', @@ -912,7 +877,7 @@ CREATE TABLE `index_files` ( `indexdate` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, `processdate` datetime default NULL, `what` char(1) default NULL, - `status_msg` mediumtext NULL, + `status_msg` mediumtext, PRIMARY KEY (`document_id`), KEY `user_id` (`user_id`), 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` ( -- CREATE TABLE `interceptor_instances` ( - `id` int(11) NOT NULL, + `id` int(11) NOT NULL auto_increment, `name` varchar(255) NOT NULL, `interceptor_namespace` varchar(255) NOT NULL, `config` text, @@ -937,7 +902,7 @@ CREATE TABLE `interceptor_instances` ( -- CREATE TABLE `links` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(100) NOT NULL default '', `url` char(100) NOT NULL default '', `rank` int(11) NOT NULL default '0', @@ -949,7 +914,7 @@ CREATE TABLE `links` ( -- CREATE TABLE `metadata_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_field_id` int(11) NOT NULL default '0', `name` char(255) default NULL, `treeorg_parent` int(11) default NULL, @@ -966,7 +931,7 @@ CREATE TABLE `metadata_lookup` ( -- CREATE TABLE `metadata_lookup_tree` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `document_field_id` int(11) NOT NULL default '0', `name` char(255) default NULL, `metadata_lookup_tree_parent` int(11) default NULL, @@ -994,7 +959,7 @@ CREATE TABLE `mime_document_mapping` ( -- CREATE TABLE `mime_documents` ( - `id` int(11) NOT NULL, + `id` int(11) NOT NULL auto_increment, `mime_doc` varchar(100) default NULL, `icon_path` varchar(20) default NULL, PRIMARY KEY (`id`) @@ -1005,7 +970,7 @@ CREATE TABLE `mime_documents` ( -- CREATE TABLE `mime_extractors` ( - `id` mediumint(9) NOT NULL, + `id` mediumint(9) NOT NULL auto_increment, `name` varchar(50) NOT NULL, `active` tinyint(4) NOT NULL default '0', PRIMARY KEY (`id`) @@ -1016,7 +981,7 @@ CREATE TABLE `mime_extractors` ( -- CREATE TABLE `mime_types` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `filetypes` char(100) NOT NULL default '', `mimetypes` char(100) NOT NULL default '', `icon_path` char(255) default NULL, @@ -1037,7 +1002,7 @@ CREATE TABLE `mime_types` ( -- CREATE TABLE `news` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `synopsis` varchar(255) NOT NULL default '', `body` mediumtext, `rank` int(11) default NULL, @@ -1055,7 +1020,7 @@ CREATE TABLE `news` ( -- CREATE TABLE `notifications` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL default '0', `label` varchar(255) NOT NULL default '', `type` varchar(255) NOT NULL default '', @@ -1076,7 +1041,7 @@ CREATE TABLE `notifications` ( -- CREATE TABLE `organisations_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(100) NOT NULL default '', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) @@ -1087,7 +1052,7 @@ CREATE TABLE `organisations_lookup` ( -- CREATE TABLE `permission_assignments` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `permission_id` int(11) NOT NULL default '0', `permission_object_id` int(11) NOT NULL default '0', `permission_descriptor_id` int(11) default NULL, @@ -1144,7 +1109,7 @@ CREATE TABLE `permission_descriptor_users` ( -- CREATE TABLE `permission_descriptors` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `descriptor` varchar(32) NOT NULL default '', `descriptor_text` mediumtext NOT NULL, PRIMARY KEY (`id`), @@ -1169,7 +1134,7 @@ CREATE TABLE `permission_dynamic_assignments` ( -- CREATE TABLE `permission_dynamic_conditions` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `permission_object_id` int(11) NOT NULL default '0', `group_id` int(11) NOT NULL default '0', `condition_id` int(11) NOT NULL default '0', @@ -1187,7 +1152,7 @@ CREATE TABLE `permission_dynamic_conditions` ( -- CREATE TABLE `permission_lookup_assignments` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `permission_id` int(11) NOT NULL default '0', `permission_lookup_id` int(11) NOT NULL default '0', `permission_descriptor_id` int(11) default NULL, @@ -1205,7 +1170,7 @@ CREATE TABLE `permission_lookup_assignments` ( -- CREATE TABLE `permission_lookups` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -1214,7 +1179,7 @@ CREATE TABLE `permission_lookups` ( -- CREATE TABLE `permission_objects` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -1223,7 +1188,7 @@ CREATE TABLE `permission_objects` ( -- CREATE TABLE `permissions` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(100) NOT NULL default '', `human_name` char(100) NOT NULL default '', `built_in` tinyint(4) NOT NULL default '0', @@ -1232,11 +1197,30 @@ CREATE TABLE `permissions` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- +-- Table structure for table `plugin_helper` +-- + +CREATE TABLE `plugin_helper` ( + `id` int(11) NOT NULL auto_increment, + `namespace` varchar(120) NOT NULL, + `plugin` varchar(120) NOT NULL, + `classname` varchar(120) default NULL, + `pathname` varchar(255) default NULL, + `object` varchar(1000) NOT NULL, + `classtype` varchar(120) NOT NULL, + `viewtype` enum('general','dashboard','plugin','folder','document','admindispatcher','dispatcher') NOT NULL default 'general', + PRIMARY KEY (`id`), + KEY `name` (`namespace`), + KEY `parent` (`plugin`), + KEY `view` (`viewtype`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +-- -- Table structure for table `plugin_rss` -- CREATE TABLE `plugin_rss` ( - `id` int(11) NOT NULL, + `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL, `url` varchar(200) NOT NULL, `title` varchar(100) NOT NULL, @@ -1250,7 +1234,7 @@ CREATE TABLE `plugin_rss` ( -- CREATE TABLE `plugins` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `namespace` varchar(255) NOT NULL default '', `path` varchar(255) NOT NULL default '', `version` int(11) NOT NULL default '0', @@ -1265,32 +1249,11 @@ CREATE TABLE `plugins` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- --- Table structure for table `plugin_helper` --- - -CREATE TABLE `plugin_helper` ( - `id` INT NOT NULL default '0', - `namespace` VARCHAR(120) NOT NULL, - `plugin` VARCHAR(120) NOT NULL, - `classname` VARCHAR(120), - `pathname` VARCHAR(255), - `object` VARCHAR(1000) NOT NULL, - `classtype` VARCHAR(120) NOT NULL, - `viewtype` ENUM('general', 'dashboard', 'plugin', 'folder', 'document', 'admindispatcher', 'dispatcher') NOT NULL default 'general', - PRIMARY KEY (`id`), - KEY `name` (`namespace`), - KEY `parent` (`plugin`), - KEY `view` (`viewtype`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - --- -------------------------------------------------------- - --- -- Table structure for table `role_allocations` -- CREATE TABLE `role_allocations` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `folder_id` int(11) NOT NULL default '0', `role_id` int(11) NOT NULL default '0', `permission_descriptor_id` int(11) NOT NULL default '0', @@ -1308,7 +1271,7 @@ CREATE TABLE `role_allocations` ( -- CREATE TABLE `roles` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(255) NOT NULL default '', PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) @@ -1319,7 +1282,7 @@ CREATE TABLE `roles` ( -- CREATE TABLE `saved_searches` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` varchar(50) NOT NULL default '', `namespace` varchar(250) NOT NULL default '', `is_condition` tinyint(1) NOT NULL default '0', @@ -1337,7 +1300,7 @@ CREATE TABLE `saved_searches` ( -- CREATE TABLE `scheduler_tasks` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `task` varchar(50) NOT NULL, `script_url` varchar(255) NOT NULL, `script_params` varchar(255) default NULL, @@ -1346,7 +1309,7 @@ CREATE TABLE `scheduler_tasks` ( `run_time` datetime default NULL, `previous_run_time` datetime default NULL, `run_duration` float default NULL, - `status` ENUM('enabled', 'disabled', 'system') NOT NULL DEFAULT 'disabled', + `status` enum('enabled','disabled','system') NOT NULL default 'disabled', PRIMARY KEY (`id`), UNIQUE KEY `task` (`task`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -1381,7 +1344,7 @@ CREATE TABLE `search_ranking` ( -- CREATE TABLE `search_saved` ( - `id` int(11) NOT NULL, + `id` int(11) NOT NULL auto_increment, `name` varchar(100) NOT NULL, `expression` tinytext NOT NULL, `user_id` int(11) NOT NULL, @@ -1407,7 +1370,7 @@ CREATE TABLE `search_saved_events` ( -- CREATE TABLE `status_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(255) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -1417,7 +1380,7 @@ CREATE TABLE `status_lookup` ( -- CREATE TABLE `system_settings` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(255) NOT NULL default '', `value` text NOT NULL, PRIMARY KEY (`id`), @@ -1429,7 +1392,7 @@ CREATE TABLE `system_settings` ( -- CREATE TABLE `tag_words` ( - `id` int(10) NOT NULL, + `id` int(11) NOT NULL auto_increment, `tag` varchar(100) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -1439,7 +1402,7 @@ CREATE TABLE `tag_words` ( -- CREATE TABLE `time_period` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `time_unit_id` int(11) default NULL, `units` int(11) default NULL, PRIMARY KEY (`id`), @@ -1452,7 +1415,7 @@ CREATE TABLE `time_period` ( -- CREATE TABLE `time_unit_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(100) default NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -1485,7 +1448,7 @@ CREATE TABLE `type_workflow_map` ( -- CREATE TABLE `units_lookup` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(100) NOT NULL default '', `folder_id` int(11) NOT NULL default '0', PRIMARY KEY (`id`), @@ -1499,7 +1462,7 @@ CREATE TABLE `units_lookup` ( -- CREATE TABLE `units_organisations_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `unit_id` int(11) NOT NULL default '0', `organisation_id` int(11) NOT NULL default '0', PRIMARY KEY (`id`), @@ -1514,7 +1477,7 @@ CREATE TABLE `units_organisations_link` ( -- CREATE TABLE `upgrades` ( - `id` int(10) unsigned NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `descriptor` char(100) NOT NULL default '', `description` char(255) NOT NULL default '', `date_performed` datetime NOT NULL default '0000-00-00 00:00:00', @@ -1548,7 +1511,7 @@ CREATE TABLE `uploaded_files` ( -- CREATE TABLE `user_history` ( - `id` int(11) NOT NULL, + `id` int(11) NOT NULL auto_increment, `datetime` datetime NOT NULL, `user_id` int(11) NOT NULL, `action_namespace` varchar(255) NOT NULL, @@ -1567,7 +1530,7 @@ CREATE TABLE `user_history` ( -- CREATE TABLE `users` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `username` varchar(255) NOT NULL default '', `name` varchar(255) NOT NULL default '', `password` varchar(255) NOT NULL default '', @@ -1603,7 +1566,7 @@ CREATE TABLE `users` ( -- CREATE TABLE `users_groups_link` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `user_id` int(11) NOT NULL default '0', `group_id` int(11) NOT NULL default '0', PRIMARY KEY (`id`), @@ -1666,7 +1629,7 @@ CREATE TABLE `workflow_state_disabled_actions` ( -- CREATE TABLE `workflow_state_permission_assignments` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `workflow_state_id` int(11) NOT NULL default '0', `permission_id` int(11) NOT NULL default '0', `permission_descriptor_id` int(11) NOT NULL default '0', @@ -1697,7 +1660,7 @@ CREATE TABLE `workflow_state_transitions` ( -- CREATE TABLE `workflow_states` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `workflow_id` int(11) NOT NULL default '0', `name` char(255) NOT NULL default '', `human_name` char(100) NOT NULL default '', @@ -1717,7 +1680,7 @@ CREATE TABLE `workflow_states` ( -- CREATE TABLE `workflow_transitions` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `workflow_id` int(11) NOT NULL default '0', `name` char(255) NOT NULL default '', `human_name` char(100) NOT NULL default '', @@ -1747,7 +1710,7 @@ CREATE TABLE `workflow_transitions` ( -- CREATE TABLE `workflow_trigger_instances` ( - `id` int(10) unsigned NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `workflow_transition_id` int(11) NOT NULL default '0', `namespace` char(255) NOT NULL default '', `config_array` text, @@ -1762,7 +1725,7 @@ CREATE TABLE `workflow_trigger_instances` ( -- CREATE TABLE `workflows` ( - `id` int(11) NOT NULL default '0', + `id` int(11) NOT NULL auto_increment, `name` char(250) NOT NULL default '', `human_name` char(100) NOT NULL default '', `start_state_id` int(11) default NULL, @@ -1780,7 +1743,7 @@ CREATE TABLE `workflows` ( CREATE TABLE `zseq_active_sessions` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_archive_restoration_request` @@ -1789,7 +1752,7 @@ CREATE TABLE `zseq_active_sessions` ( CREATE TABLE `zseq_archive_restoration_request` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_archiving_settings` @@ -1798,7 +1761,7 @@ CREATE TABLE `zseq_archive_restoration_request` ( CREATE TABLE `zseq_archiving_settings` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_archiving_type_lookup` @@ -1807,7 +1770,7 @@ CREATE TABLE `zseq_archiving_settings` ( CREATE TABLE `zseq_archiving_type_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_authentication_sources` @@ -1816,7 +1779,7 @@ CREATE TABLE `zseq_archiving_type_lookup` ( CREATE TABLE `zseq_authentication_sources` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_column_entries` @@ -1825,7 +1788,7 @@ CREATE TABLE `zseq_authentication_sources` ( CREATE TABLE `zseq_column_entries` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_config_settings` @@ -1834,7 +1797,7 @@ CREATE TABLE `zseq_column_entries` ( CREATE TABLE `zseq_config_settings` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=108 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_dashlet_disables` @@ -1843,7 +1806,7 @@ CREATE TABLE `zseq_config_settings` ( CREATE TABLE `zseq_dashlet_disables` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_data_types` @@ -1852,7 +1815,7 @@ CREATE TABLE `zseq_dashlet_disables` ( CREATE TABLE `zseq_data_types` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_discussion_comments` @@ -1861,7 +1824,7 @@ CREATE TABLE `zseq_data_types` ( CREATE TABLE `zseq_discussion_comments` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_discussion_threads` @@ -1870,7 +1833,7 @@ CREATE TABLE `zseq_discussion_comments` ( CREATE TABLE `zseq_discussion_threads` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_archiving_link` @@ -1879,7 +1842,7 @@ CREATE TABLE `zseq_discussion_threads` ( CREATE TABLE `zseq_document_archiving_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_content_version` @@ -1888,7 +1851,7 @@ CREATE TABLE `zseq_document_archiving_link` ( CREATE TABLE `zseq_document_content_version` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_fields` @@ -1897,7 +1860,7 @@ CREATE TABLE `zseq_document_content_version` ( CREATE TABLE `zseq_document_fields` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_fields_link` @@ -1906,7 +1869,7 @@ CREATE TABLE `zseq_document_fields` ( CREATE TABLE `zseq_document_fields_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_link` @@ -1915,7 +1878,7 @@ CREATE TABLE `zseq_document_fields_link` ( CREATE TABLE `zseq_document_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_link_types` @@ -1924,7 +1887,7 @@ CREATE TABLE `zseq_document_link` ( CREATE TABLE `zseq_document_link_types` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_metadata_version` @@ -1933,7 +1896,7 @@ CREATE TABLE `zseq_document_link_types` ( CREATE TABLE `zseq_document_metadata_version` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_role_allocations` @@ -1951,7 +1914,7 @@ CREATE TABLE `zseq_document_role_allocations` ( CREATE TABLE `zseq_document_subscriptions` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_tags` @@ -1969,7 +1932,7 @@ CREATE TABLE `zseq_document_tags` ( CREATE TABLE `zseq_document_transaction_types_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_transactions` @@ -1978,7 +1941,7 @@ CREATE TABLE `zseq_document_transaction_types_lookup` ( CREATE TABLE `zseq_document_transactions` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_type_fields_link` @@ -1987,7 +1950,7 @@ CREATE TABLE `zseq_document_transactions` ( CREATE TABLE `zseq_document_type_fields_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_type_fieldsets_link` @@ -1996,7 +1959,7 @@ CREATE TABLE `zseq_document_type_fields_link` ( CREATE TABLE `zseq_document_type_fieldsets_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_document_types_lookup` @@ -2005,7 +1968,7 @@ CREATE TABLE `zseq_document_type_fieldsets_link` ( CREATE TABLE `zseq_document_types_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_documents` @@ -2014,7 +1977,7 @@ CREATE TABLE `zseq_document_types_lookup` ( CREATE TABLE `zseq_documents` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_field_behaviours` @@ -2023,7 +1986,7 @@ CREATE TABLE `zseq_documents` ( CREATE TABLE `zseq_field_behaviours` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_field_value_instances` @@ -2032,7 +1995,7 @@ CREATE TABLE `zseq_field_behaviours` ( CREATE TABLE `zseq_field_value_instances` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_fieldsets` @@ -2041,7 +2004,7 @@ CREATE TABLE `zseq_field_value_instances` ( CREATE TABLE `zseq_fieldsets` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_folder_doctypes_link` @@ -2050,7 +2013,7 @@ CREATE TABLE `zseq_fieldsets` ( CREATE TABLE `zseq_folder_doctypes_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_folder_subscriptions` @@ -2059,7 +2022,7 @@ CREATE TABLE `zseq_folder_doctypes_link` ( CREATE TABLE `zseq_folder_subscriptions` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_folder_transactions` @@ -2077,7 +2040,7 @@ CREATE TABLE `zseq_folder_transactions` ( CREATE TABLE `zseq_folders` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_folders_users_roles_link` @@ -2086,7 +2049,7 @@ CREATE TABLE `zseq_folders` ( CREATE TABLE `zseq_folders_users_roles_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_groups_groups_link` @@ -2095,7 +2058,7 @@ CREATE TABLE `zseq_folders_users_roles_link` ( CREATE TABLE `zseq_groups_groups_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_groups_lookup` @@ -2104,7 +2067,7 @@ CREATE TABLE `zseq_groups_groups_link` ( CREATE TABLE `zseq_groups_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_help` @@ -2113,7 +2076,7 @@ CREATE TABLE `zseq_groups_lookup` ( CREATE TABLE `zseq_help` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=101 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_help_replacement` @@ -2122,7 +2085,7 @@ CREATE TABLE `zseq_help` ( CREATE TABLE `zseq_help_replacement` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_interceptor_instances` @@ -2140,7 +2103,7 @@ CREATE TABLE `zseq_interceptor_instances` ( CREATE TABLE `zseq_links` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_metadata_lookup` @@ -2149,7 +2112,7 @@ CREATE TABLE `zseq_links` ( CREATE TABLE `zseq_metadata_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_metadata_lookup_tree` @@ -2158,7 +2121,7 @@ CREATE TABLE `zseq_metadata_lookup` ( CREATE TABLE `zseq_metadata_lookup_tree` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_mime_documents` @@ -2183,7 +2146,7 @@ CREATE TABLE `zseq_mime_extractors` ( CREATE TABLE `zseq_mime_types` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=162 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_news` @@ -2192,7 +2155,7 @@ CREATE TABLE `zseq_mime_types` ( CREATE TABLE `zseq_news` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_notifications` @@ -2201,7 +2164,7 @@ CREATE TABLE `zseq_news` ( CREATE TABLE `zseq_notifications` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_organisations_lookup` @@ -2210,7 +2173,7 @@ CREATE TABLE `zseq_notifications` ( CREATE TABLE `zseq_organisations_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_permission_assignments` @@ -2219,7 +2182,7 @@ CREATE TABLE `zseq_organisations_lookup` ( CREATE TABLE `zseq_permission_assignments` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_permission_descriptors` @@ -2228,7 +2191,7 @@ CREATE TABLE `zseq_permission_assignments` ( CREATE TABLE `zseq_permission_descriptors` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_permission_dynamic_conditions` @@ -2237,7 +2200,7 @@ CREATE TABLE `zseq_permission_descriptors` ( CREATE TABLE `zseq_permission_dynamic_conditions` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_permission_lookup_assignments` @@ -2246,7 +2209,7 @@ CREATE TABLE `zseq_permission_dynamic_conditions` ( CREATE TABLE `zseq_permission_lookup_assignments` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_permission_lookups` @@ -2255,7 +2218,7 @@ CREATE TABLE `zseq_permission_lookup_assignments` ( CREATE TABLE `zseq_permission_lookups` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_permission_objects` @@ -2264,7 +2227,7 @@ CREATE TABLE `zseq_permission_lookups` ( CREATE TABLE `zseq_permission_objects` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_permissions` @@ -2273,37 +2236,35 @@ CREATE TABLE `zseq_permission_objects` ( CREATE TABLE `zseq_permissions` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- --- Table structure for table `zseq_plugin_rss` +-- Table structure for table `zseq_plugin_helper` -- -CREATE TABLE `zseq_plugin_rss` ( +CREATE TABLE `zseq_plugin_helper` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- --- Table structure for table `zseq_plugins` +-- Table structure for table `zseq_plugin_rss` -- -CREATE TABLE `zseq_plugins` ( +CREATE TABLE `zseq_plugin_rss` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=22 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- --- Table structure for table `zseq_plugin_helper` +-- Table structure for table `zseq_plugins` -- -CREATE TABLE `zseq_plugin_helper` ( +CREATE TABLE `zseq_plugins` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; --- -------------------------------------------------------- - -- -- Table structure for table `zseq_role_allocations` -- @@ -2311,7 +2272,7 @@ CREATE TABLE `zseq_plugin_helper` ( CREATE TABLE `zseq_role_allocations` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_roles` @@ -2320,7 +2281,7 @@ CREATE TABLE `zseq_role_allocations` ( CREATE TABLE `zseq_roles` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_saved_searches` @@ -2329,7 +2290,7 @@ CREATE TABLE `zseq_roles` ( CREATE TABLE `zseq_saved_searches` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_scheduler_tasks` @@ -2355,7 +2316,7 @@ CREATE TABLE `zseq_search_saved` ( CREATE TABLE `zseq_status_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_system_settings` @@ -2364,7 +2325,7 @@ CREATE TABLE `zseq_status_lookup` ( CREATE TABLE `zseq_system_settings` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_tag_words` @@ -2382,7 +2343,7 @@ CREATE TABLE `zseq_tag_words` ( CREATE TABLE `zseq_time_period` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_time_unit_lookup` @@ -2391,7 +2352,7 @@ CREATE TABLE `zseq_time_period` ( CREATE TABLE `zseq_time_unit_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_units_lookup` @@ -2400,7 +2361,7 @@ CREATE TABLE `zseq_time_unit_lookup` ( CREATE TABLE `zseq_units_lookup` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_units_organisations_link` @@ -2409,7 +2370,7 @@ CREATE TABLE `zseq_units_lookup` ( CREATE TABLE `zseq_units_organisations_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_upgrades` @@ -2418,7 +2379,7 @@ CREATE TABLE `zseq_units_organisations_link` ( CREATE TABLE `zseq_upgrades` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=154 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_user_history` @@ -2436,7 +2397,7 @@ CREATE TABLE `zseq_user_history` ( CREATE TABLE `zseq_users` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_users_groups_link` @@ -2445,7 +2406,7 @@ CREATE TABLE `zseq_users` ( CREATE TABLE `zseq_users_groups_link` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_workflow_state_disabled_actions` @@ -2463,7 +2424,7 @@ CREATE TABLE `zseq_workflow_state_disabled_actions` ( CREATE TABLE `zseq_workflow_state_permission_assignments` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_workflow_states` @@ -2472,7 +2433,7 @@ CREATE TABLE `zseq_workflow_state_permission_assignments` ( CREATE TABLE `zseq_workflow_states` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_workflow_transitions` @@ -2481,7 +2442,7 @@ CREATE TABLE `zseq_workflow_states` ( CREATE TABLE `zseq_workflow_transitions` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; -- -- Table structure for table `zseq_workflow_trigger_instances` @@ -2499,7 +2460,7 @@ CREATE TABLE `zseq_workflow_trigger_instances` ( CREATE TABLE `zseq_workflows` ( `id` int(10) unsigned NOT NULL auto_increment, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1; +) ENGINE=MyISAM DEFAULT CHARSET=latin1; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; @@ -2510,4 +2471,4 @@ CREATE TABLE `zseq_workflows` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2007-10-23 13:43:23 +-- Dump completed on 2008-06-26 13:51:01 diff --git a/sql/mysql/upgrade/3.5.3/add_autoinc.sql b/sql/mysql/upgrade/3.5.3/add_autoinc.sql new file mode 100644 index 0000000..74771c4 --- /dev/null +++ b/sql/mysql/upgrade/3.5.3/add_autoinc.sql @@ -0,0 +1,80 @@ +alter table active_sessions change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table archive_restoration_request change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table archiving_settings change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table archiving_type_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table authentication_sources change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table column_entries change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table config_settings change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table dashlet_disables change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table data_types change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table discussion_comments change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table discussion_threads change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_archiving_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_content_version change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_fields change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_fields_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_incomplete change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_link_types change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_metadata_version change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_role_allocations change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_subscriptions change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_transaction_types_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_transactions change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_type_fields_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_type_fieldsets_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table document_types_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table documents change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table field_behaviours change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table field_value_instances change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table fieldsets change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table folder_doctypes_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table folder_subscriptions change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table folder_transactions change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table folders change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table folders_users_roles_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table groups_groups_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table groups_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table help change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table help_replacement change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table interceptor_instances change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table links change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table metadata_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table metadata_lookup_tree change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table mime_extractors change `id` `id` mediumint(9) NOT NULL AUTO_INCREMENT; +alter table mime_documents change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table mime_types change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table news change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table notifications change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table organisations_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table permission_assignments change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table permission_descriptors change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table permission_dynamic_conditions change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table permission_lookup_assignments change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table permission_lookups change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table permission_objects change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table permissions change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table plugin_helper change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table plugin_rss change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table plugins change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table role_allocations change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table roles change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table saved_searches change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table scheduler_tasks change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table search_saved change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table status_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table system_settings change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table tag_words change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table time_period change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table time_unit_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table units_lookup change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table units_organisations_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table upgrades change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table user_history change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table users change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table users_groups_link change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table workflow_state_permission_assignments change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table workflow_states change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table workflow_transitions change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table workflow_trigger_instances change `id` `id` int (11) NOT NULL AUTO_INCREMENT; +alter table workflows change `id` `id` int (11) NOT NULL AUTO_INCREMENT; \ No newline at end of file