Commit 9ce80041626dfa7b4dfeafd68b299c75122d2a7a

Authored by nbm
1 parent ed759e80

SQL update to 3.0.3.5 - notifications can now store information in a

"text" field.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5703 c91229c3-7414-0410-bfa2-8a42b809f60b
docs/VERSION.txt
1 -3.0.3.4 1 +3.0.3.5
sql/mysql/install/data.sql
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 -- http://www.phpmyadmin.net 3 -- http://www.phpmyadmin.net
4 -- 4 --
5 -- Host: localhost 5 -- Host: localhost
6 --- Generation Time: Jul 12, 2006 at 12:02 PM 6 +-- Generation Time: Jul 14, 2006 at 03:28 PM
7 -- Server version: 5.0.22 7 -- Server version: 5.0.22
8 -- PHP Version: 4.4.2-1build1 8 -- PHP Version: 4.4.2-1build1
9 9
@@ -732,7 +732,7 @@ INSERT INTO `status_lookup` VALUES (5, 'Incomplete'); @@ -732,7 +732,7 @@ INSERT INTO `status_lookup` VALUES (5, 'Incomplete');
732 -- 732 --
733 733
734 INSERT INTO `system_settings` VALUES (1, 'lastIndexUpdate', '0'); 734 INSERT INTO `system_settings` VALUES (1, 'lastIndexUpdate', '0');
735 -INSERT INTO `system_settings` VALUES (2, 'knowledgeTreeVersion', '3.0.3.4'); 735 +INSERT INTO `system_settings` VALUES (2, 'knowledgeTreeVersion', '3.0.3.5');
736 INSERT INTO `system_settings` VALUES (3, 'databaseVersion', '2.99.5'); 736 INSERT INTO `system_settings` VALUES (3, 'databaseVersion', '2.99.5');
737 737
738 -- 738 --
@@ -879,6 +879,8 @@ INSERT INTO `upgrades` VALUES (104, 'func*3.0.3.3*0*generateWorkflowTriggers', ' @@ -879,6 +879,8 @@ INSERT INTO `upgrades` VALUES (104, 'func*3.0.3.3*0*generateWorkflowTriggers', '
879 INSERT INTO `upgrades` VALUES (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'); 879 INSERT INTO `upgrades` VALUES (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');
880 INSERT INTO `upgrades` VALUES (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'); 880 INSERT INTO `upgrades` VALUES (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');
881 INSERT INTO `upgrades` VALUES (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'); 881 INSERT INTO `upgrades` VALUES (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');
  882 +INSERT INTO `upgrades` VALUES (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');
  883 +INSERT INTO `upgrades` VALUES (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');
882 884
883 -- 885 --
884 -- Dumping data for table `user_history` 886 -- Dumping data for table `user_history`
@@ -1329,7 +1331,7 @@ INSERT INTO `zseq_units_organisations_link` VALUES (1); @@ -1329,7 +1331,7 @@ INSERT INTO `zseq_units_organisations_link` VALUES (1);
1329 -- Dumping data for table `zseq_upgrades` 1331 -- Dumping data for table `zseq_upgrades`
1330 -- 1332 --
1331 1333
1332 -INSERT INTO `zseq_upgrades` VALUES (107); 1334 +INSERT INTO `zseq_upgrades` VALUES (109);
1333 1335
1334 -- 1336 --
1335 -- Dumping data for table `zseq_user_history` 1337 -- Dumping data for table `zseq_user_history`
sql/mysql/install/structure.sql
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 -- http://www.phpmyadmin.net 3 -- http://www.phpmyadmin.net
4 -- 4 --
5 -- Host: localhost 5 -- Host: localhost
6 --- Generation Time: Jul 12, 2006 at 12:02 PM 6 +-- Generation Time: Jul 14, 2006 at 03:28 PM
7 -- Server version: 5.0.22 7 -- Server version: 5.0.22
8 -- PHP Version: 4.4.2-1build1 8 -- PHP Version: 4.4.2-1build1
9 9
@@ -877,6 +877,7 @@ CREATE TABLE `notifications` ( @@ -877,6 +877,7 @@ CREATE TABLE `notifications` (
877 `data_int_2` int(11) default NULL, 877 `data_int_2` int(11) default NULL,
878 `data_str_1` varchar(255) default NULL, 878 `data_str_1` varchar(255) default NULL,
879 `data_str_2` varchar(255) default NULL, 879 `data_str_2` varchar(255) default NULL,
  880 + `data_text_1` text,
880 UNIQUE KEY `id` (`id`), 881 UNIQUE KEY `id` (`id`),
881 KEY `type` (`type`), 882 KEY `type` (`type`),
882 KEY `user_id` (`user_id`) 883 KEY `user_id` (`user_id`)
@@ -2191,7 +2192,7 @@ CREATE TABLE `zseq_units_organisations_link` ( @@ -2191,7 +2192,7 @@ CREATE TABLE `zseq_units_organisations_link` (
2191 CREATE TABLE `zseq_upgrades` ( 2192 CREATE TABLE `zseq_upgrades` (
2192 `id` int(10) unsigned NOT NULL auto_increment, 2193 `id` int(10) unsigned NOT NULL auto_increment,
2193 PRIMARY KEY (`id`) 2194 PRIMARY KEY (`id`)
2194 -) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=108 ; 2195 +) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=110 ;
2195 2196
2196 -- -------------------------------------------------------- 2197 -- --------------------------------------------------------
2197 2198
sql/mysql/upgrade/3.0.3.5/notifications_data_text.sql 0 → 100644
  1 +ALTER TABLE `notifications` ADD COLUMN `data_text_1` text;