Fixing last commit - mysql upgrade - table_column defaults to 0 for default rather than empty string and mysql doesn't want to allow 0 for defaults for type text columns
This commit is contained in:
@@ -12,8 +12,8 @@ function rss_client_upgrade($oldversion) {
|
||||
|
||||
if ($oldversion < 2005111400) {
|
||||
// title and description should be TEXT as we don't have control over their length.
|
||||
table_column('block_rss_client','title','title','text');
|
||||
table_column('block_rss_client','description','description','text');
|
||||
table_column('block_rss_client','title','title','text',10,'unsigned','');
|
||||
table_column('block_rss_client','description','description','text',10,'unsigned','');
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user