0000684: Space for Legal Text is not enough. Extended to a text field.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 16 Feb 2012 07:46:07 +0000 (08:46 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 16 Feb 2012 07:46:07 +0000 (08:46 +0100)
sql/alter2.4.sql
sql/en_US-demo.sql
sql/en_US-new.sql

index 218c1ce5d385a08e2a95e7d4959e784cb69ca8ee..ca5f6dc9ac29e8235357fc3fca0d0c384bd71370 100644 (file)
@@ -34,5 +34,6 @@ UPDATE `0_tax_group_items` tgi
                WHERE tax_shipping=1 AND tgi.tax_group_id=0_tax_groups.id AND tgi.tax_type_id=0_tax_types.id);
 ALTER TABLE `0_tax_groups` DROP COLUMN `tax_shipping`;
 ALTER TABLE `0_tax_group_items` DROP COLUMN `rate`;
-ALTER TABLE 0_sales_order_details ADD KEY `stkcode` (`stk_code`);
-ALTER TABLE 0_purch_order_details ADD KEY `itemcode` (`item_code`);
+ALTER TABLE `0_sales_order_details` ADD KEY `stkcode` (`stk_code`);
+ALTER TABLE `0_purch_order_details` ADD KEY `itemcode` (`item_code`);
+ALTER TABLE `0_sys_prefs` CHANGE `value` `value` TEXT NOT NULL DEFAULT '';
index d8281297c4fae4c167c83bdbfff2cbcd0eddfa2e..38cb4958aa43f8f3ade38482ec973d0b32aec802 100644 (file)
@@ -2010,7 +2010,7 @@ CREATE TABLE IF NOT EXISTS `0_sys_prefs` (
   `category` varchar(30) default NULL,
   `type` varchar(20) NOT NULL default '',
   `length` smallint(6) default NULL,
-  `value` tinytext,
+  `value` text,
   PRIMARY KEY  (`name`),
   KEY `category` (`category`)
 ) ENGINE=MyISAM;
@@ -2193,7 +2193,7 @@ CREATE TABLE IF NOT EXISTS `0_tax_group_items` (
 -- Dumping data for table `0_tax_group_items`
 --
 
-INSERT INTO `0_tax_group_items` VALUES(1, 1, 5, 1);
+INSERT INTO `0_tax_group_items` VALUES(1, 1, 1);
 
 -- --------------------------------------------------------
 
index f9d81ce47f5963ec5beececc36bee684d94cb73a..c80bd31421b3da9ea511a477a51c8327a0d421ac 100644 (file)
@@ -1769,7 +1769,7 @@ CREATE TABLE IF NOT EXISTS `0_sys_prefs` (
   `category` varchar(30) default NULL,
   `type` varchar(20) NOT NULL default '',
   `length` smallint(6) default NULL,
-  `value` tinytext,
+  `value` text,
   PRIMARY KEY  (`name`),
   KEY `category` (`category`)
 ) ENGINE=MyISAM;