moodle16cleanup: blocks/rss_client set the correct column default value

This commit is contained in:
martinlanghoff
2006-05-17 06:20:09 +00:00
parent d5b0187a32
commit ae3f15fac1
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -12,6 +12,12 @@ function rss_client_upgrade($oldversion) {
table_column('block_rss_client','description','description','text');
}
if ($oldversion < 2005090201) {
modify_database('', 'ALTER TABLE prefix_block_rss_client
ALTER COLUMN title SET DEFAULT \'\',
ALTER COLUMN description SET DEFAULT \'\'');
}
return true;
}
+1 -1
View File
@@ -5,4 +5,4 @@
// database (blocks_version) to determine whether upgrades should
// be performed (see db/backup_*.php)
$blocks_version = 2005090200; // The current version is a date (YYYYMMDDXX)
$blocks_version = 2005090201; // The current version is a date (YYYYMMDDXX)