mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
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:
parent
abbb3308a2
commit
bacd847b35
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user