Commit 7a4551bd10a4d2e70f03cf3f9d896dd8d8670f57

Authored by Brad Shuttleworth
1 parent b647c1c3

upgrade raw datafiles.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4981 c91229c3-7414-0410-bfa2-8a42b809f60b
sql/mysql/install/data.sql
@@ -3,11 +3,9 @@ @@ -3,11 +3,9 @@
3 -- http://www.phpmyadmin.net 3 -- http://www.phpmyadmin.net
4 -- 4 --
5 -- Host: localhost 5 -- Host: localhost
6 --- Generation Time: Feb 16, 2006 at 03:57 PM 6 +-- Generation Time: Feb 20, 2006 at 01:39 PM
7 -- Server version: 4.0.24 7 -- Server version: 4.0.24
8 -- PHP Version: 4.4.0-3 8 -- PHP Version: 4.4.0-3
9 -  
10 -SET FOREIGN_KEY_CHECKS=0;  
11 -- 9 --
12 -- Database: `dms` 10 -- Database: `dms`
13 -- 11 --
@@ -221,8 +219,8 @@ INSERT INTO `folder_doctypes_link` VALUES (2, 2, 1); @@ -221,8 +219,8 @@ INSERT INTO `folder_doctypes_link` VALUES (2, 2, 1);
221 -- Dumping data for table `folders` 219 -- Dumping data for table `folders`
222 -- 220 --
223 221
224 -INSERT INTO `folders` VALUES (1, 'Root Folder', 'Root Document Folder', 0, 1, 0, '0', '0', 1, 2, 0);  
225 -INSERT INTO `folders` VALUES (2, 'Default Unit', 'Default Unit Root Folder', 1, 1, 0, '1', 'Root Folder', 1, 2, 0); 222 +INSERT INTO `folders` VALUES (1, 'Root Folder', 'Root Document Folder', 0, 1, 0, '0', '0', 1, NULL, 0);
  223 +INSERT INTO `folders` VALUES (2, 'Default Unit', 'Default Unit Root Folder', 1, 1, 0, '1', 'Root Folder', 1, NULL, 0);
226 224
227 -- 225 --
228 -- Dumping data for table `folders_users_roles_link` 226 -- Dumping data for table `folders_users_roles_link`
@@ -537,6 +535,8 @@ INSERT INTO `organisations_lookup` VALUES (1, 'Default Organisation'); @@ -537,6 +535,8 @@ INSERT INTO `organisations_lookup` VALUES (1, 'Default Organisation');
537 INSERT INTO `permission_assignments` VALUES (1, 1, 1, 2); 535 INSERT INTO `permission_assignments` VALUES (1, 1, 1, 2);
538 INSERT INTO `permission_assignments` VALUES (2, 2, 1, 2); 536 INSERT INTO `permission_assignments` VALUES (2, 2, 1, 2);
539 INSERT INTO `permission_assignments` VALUES (3, 3, 1, 2); 537 INSERT INTO `permission_assignments` VALUES (3, 3, 1, 2);
  538 +INSERT INTO `permission_assignments` VALUES (4, 4, 1, 2);
  539 +INSERT INTO `permission_assignments` VALUES (5, 5, 1, 2);
540 540
541 -- 541 --
542 -- Dumping data for table `permission_descriptor_groups` 542 -- Dumping data for table `permission_descriptor_groups`
@@ -602,6 +602,8 @@ INSERT INTO `permission_objects` VALUES (1); @@ -602,6 +602,8 @@ INSERT INTO `permission_objects` VALUES (1);
602 INSERT INTO `permissions` VALUES (1, 'ktcore.permissions.read', 'Core: Read', 1); 602 INSERT INTO `permissions` VALUES (1, 'ktcore.permissions.read', 'Core: Read', 1);
603 INSERT INTO `permissions` VALUES (2, 'ktcore.permissions.write', 'Core: Write', 1); 603 INSERT INTO `permissions` VALUES (2, 'ktcore.permissions.write', 'Core: Write', 1);
604 INSERT INTO `permissions` VALUES (3, 'ktcore.permissions.addFolder', 'Core: Add Folder', 1); 604 INSERT INTO `permissions` VALUES (3, 'ktcore.permissions.addFolder', 'Core: Add Folder', 1);
  605 +INSERT INTO `permissions` VALUES (4, 'ktcore.permissions.security', 'Core: Manage security', 1);
  606 +INSERT INTO `permissions` VALUES (5, 'ktcore.permissions.delete', 'Core: Delete', 1);
605 607
606 -- 608 --
607 -- Dumping data for table `plugins` 609 -- Dumping data for table `plugins`
@@ -750,6 +752,8 @@ INSERT INTO `upgrades` VALUES (63, 'sql*2.99.8*25*2.99.8/25-authentication_detai @@ -750,6 +752,8 @@ INSERT INTO `upgrades` VALUES (63, 'sql*2.99.8*25*2.99.8/25-authentication_detai
750 INSERT INTO `upgrades` VALUES (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'); 752 INSERT INTO `upgrades` VALUES (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');
751 INSERT INTO `upgrades` VALUES (65, 'sql*2.99.9*0*2.99.9/mimetype-friendly.sql', 'Database upgrade to version 2.99.9: Mimetype-friendly', '2006-02-16 15:46:56', 1, 'upgrade*2.99.9*99*upgrade2.99.9'); 753 INSERT INTO `upgrades` VALUES (65, 'sql*2.99.9*0*2.99.9/mimetype-friendly.sql', 'Database upgrade to version 2.99.9: Mimetype-friendly', '2006-02-16 15:46:56', 1, 'upgrade*2.99.9*99*upgrade2.99.9');
752 INSERT INTO `upgrades` VALUES (66, 'upgrade*2.99.9*99*upgrade2.99.9', 'Upgrade from version 2.99.8 to 2.99.9', '2006-02-16 15:46:56', 1, 'upgrade*2.99.9*99*upgrade2.99.9'); 754 INSERT INTO `upgrades` VALUES (66, 'upgrade*2.99.9*99*upgrade2.99.9', 'Upgrade from version 2.99.8 to 2.99.9', '2006-02-16 15:46:56', 1, 'upgrade*2.99.9*99*upgrade2.99.9');
  755 +INSERT INTO `upgrades` VALUES (67, 'func*2.99.9*0*createSecurityDeletePermissions', 'Create the Core: Manage Security and Core: Delete permissions', '2006-02-20 13:23:18', 1, 'upgrade*2.99.9*99*upgrade2.99.9');
  756 +INSERT INTO `upgrades` VALUES (68, '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-20 13:35:38', 1, 'upgrade*2.99.9*99*upgrade2.99.9');
753 757
754 -- 758 --
755 -- Dumping data for table `users` 759 -- Dumping data for table `users`
@@ -1075,7 +1079,7 @@ INSERT INTO `zseq_organisations_lookup` VALUES (1); @@ -1075,7 +1079,7 @@ INSERT INTO `zseq_organisations_lookup` VALUES (1);
1075 -- Dumping data for table `zseq_permission_assignments` 1079 -- Dumping data for table `zseq_permission_assignments`
1076 -- 1080 --
1077 1081
1078 -INSERT INTO `zseq_permission_assignments` VALUES (3); 1082 +INSERT INTO `zseq_permission_assignments` VALUES (5);
1079 1083
1080 -- 1084 --
1081 -- Dumping data for table `zseq_permission_descriptors` 1085 -- Dumping data for table `zseq_permission_descriptors`
@@ -1111,7 +1115,7 @@ INSERT INTO `zseq_permission_objects` VALUES (1); @@ -1111,7 +1115,7 @@ INSERT INTO `zseq_permission_objects` VALUES (1);
1111 -- Dumping data for table `zseq_permissions` 1115 -- Dumping data for table `zseq_permissions`
1112 -- 1116 --
1113 1117
1114 -INSERT INTO `zseq_permissions` VALUES (3); 1118 +INSERT INTO `zseq_permissions` VALUES (5);
1115 1119
1116 -- 1120 --
1117 -- Dumping data for table `zseq_plugins` 1121 -- Dumping data for table `zseq_plugins`
@@ -1177,7 +1181,7 @@ INSERT INTO `zseq_units_organisations_link` VALUES (1); @@ -1177,7 +1181,7 @@ INSERT INTO `zseq_units_organisations_link` VALUES (1);
1177 -- Dumping data for table `zseq_upgrades` 1181 -- Dumping data for table `zseq_upgrades`
1178 -- 1182 --
1179 1183
1180 -INSERT INTO `zseq_upgrades` VALUES (66); 1184 +INSERT INTO `zseq_upgrades` VALUES (68);
1181 1185
1182 -- 1186 --
1183 -- Dumping data for table `zseq_users` 1187 -- Dumping data for table `zseq_users`
@@ -1213,5 +1217,3 @@ INSERT INTO `zseq_workflow_transitions` VALUES (1); @@ -1213,5 +1217,3 @@ INSERT INTO `zseq_workflow_transitions` VALUES (1);
1213 -- 1217 --
1214 1218
1215 INSERT INTO `zseq_workflows` VALUES (1); 1219 INSERT INTO `zseq_workflows` VALUES (1);
1216 -  
1217 -SET FOREIGN_KEY_CHECKS=1;  
sql/mysql/install/structure.sql
@@ -3,15 +3,15 @@ @@ -3,15 +3,15 @@
3 -- http://www.phpmyadmin.net 3 -- http://www.phpmyadmin.net
4 -- 4 --
5 -- Host: localhost 5 -- Host: localhost
6 --- Generation Time: Feb 16, 2006 at 03:48 PM 6 +-- Generation Time: Feb 20, 2006 at 01:36 PM
7 -- Server version: 4.0.24 7 -- Server version: 4.0.24
8 -- PHP Version: 4.4.0-3 8 -- PHP Version: 4.4.0-3
9 -  
10 -SET FOREIGN_KEY_CHECKS=0;  
11 -- 9 --
12 -- Database: `dms` 10 -- Database: `dms`
13 -- 11 --
14 12
  13 +SET FOREIGN_KEY_CHECKS=0;
  14 +
15 -- -------------------------------------------------------- 15 -- --------------------------------------------------------
16 16
17 -- 17 --
@@ -648,7 +648,7 @@ CREATE TABLE `groups_groups_link` ( @@ -648,7 +648,7 @@ CREATE TABLE `groups_groups_link` (
648 648
649 CREATE TABLE `groups_lookup` ( 649 CREATE TABLE `groups_lookup` (
650 `id` int(11) NOT NULL default '0', 650 `id` int(11) NOT NULL default '0',
651 - `name` char(100) NOT NULL default '', 651 + `name` varchar(100) NOT NULL default '',
652 `is_sys_admin` tinyint(1) NOT NULL default '0', 652 `is_sys_admin` tinyint(1) NOT NULL default '0',
653 `is_unit_admin` tinyint(1) NOT NULL default '0', 653 `is_unit_admin` tinyint(1) NOT NULL default '0',
654 `unit_id` int(11) default NULL, 654 `unit_id` int(11) default NULL,
@@ -1832,7 +1832,7 @@ CREATE TABLE `zseq_organisations_lookup` ( @@ -1832,7 +1832,7 @@ CREATE TABLE `zseq_organisations_lookup` (
1832 CREATE TABLE `zseq_permission_assignments` ( 1832 CREATE TABLE `zseq_permission_assignments` (
1833 `id` int(10) unsigned NOT NULL auto_increment, 1833 `id` int(10) unsigned NOT NULL auto_increment,
1834 PRIMARY KEY (`id`) 1834 PRIMARY KEY (`id`)
1835 -) TYPE=MyISAM AUTO_INCREMENT=4 ; 1835 +) TYPE=MyISAM AUTO_INCREMENT=6 ;
1836 1836
1837 -- -------------------------------------------------------- 1837 -- --------------------------------------------------------
1838 1838
@@ -1898,7 +1898,7 @@ CREATE TABLE `zseq_permission_objects` ( @@ -1898,7 +1898,7 @@ CREATE TABLE `zseq_permission_objects` (
1898 CREATE TABLE `zseq_permissions` ( 1898 CREATE TABLE `zseq_permissions` (
1899 `id` int(10) unsigned NOT NULL auto_increment, 1899 `id` int(10) unsigned NOT NULL auto_increment,
1900 PRIMARY KEY (`id`) 1900 PRIMARY KEY (`id`)
1901 -) TYPE=MyISAM AUTO_INCREMENT=4 ; 1901 +) TYPE=MyISAM AUTO_INCREMENT=6 ;
1902 1902
1903 -- -------------------------------------------------------- 1903 -- --------------------------------------------------------
1904 1904
@@ -2019,7 +2019,7 @@ CREATE TABLE `zseq_units_organisations_link` ( @@ -2019,7 +2019,7 @@ CREATE TABLE `zseq_units_organisations_link` (
2019 CREATE TABLE `zseq_upgrades` ( 2019 CREATE TABLE `zseq_upgrades` (
2020 `id` int(10) unsigned NOT NULL auto_increment, 2020 `id` int(10) unsigned NOT NULL auto_increment,
2021 PRIMARY KEY (`id`) 2021 PRIMARY KEY (`id`)
2022 -) TYPE=MyISAM AUTO_INCREMENT=67 ; 2022 +) TYPE=MyISAM AUTO_INCREMENT=69 ;
2023 2023
2024 -- -------------------------------------------------------- 2024 -- --------------------------------------------------------
2025 2025