added rsstitletemplate field

This commit is contained in:
toyomoyo 2006-05-24 06:16:10 +00:00
parent 462458c66b
commit 6fe661e879
5 changed files with 10 additions and 1 deletions

View File

@ -64,6 +64,9 @@ function data_upgrade($oldversion) {
table_column('data_fields','param10','param10','text','','','','not null');
}
if ($oldversion < 2006052400) {
table_column('data','','rsstitletemplate','text','','','','not null','rsstemplate');
}
return true;
}

View File

@ -32,6 +32,7 @@ CREATE TABLE prefix_data (
listtemplatefooter text NOT NULL default '',
addtemplate text NOT NULL default '',
rsstemplate text NOT NULL default '',
rsstitletemplate text NOT NULL default '',
csstemplate text NOT NULL default '',
approval tinyint(4) unsigned NOT NULL default '0',
scale int(10) NOT NULL default '0',

View File

@ -148,6 +148,10 @@ function data_upgrade($oldversion) {
}
if ($oldversion < 2006052400) {
table_column('data','','rsstitletemplate','text','','','','not null','rsstemplate');
}
return true;
}

View File

@ -21,6 +21,7 @@ CREATE TABLE prefix_data (
listtemplatefooter text NOT NULL default '',
addtemplate text NOT NULL default '',
rsstemplate text NOT NULL default '',
rsstitletemplate text NOT NULL default '',
csstemplate text NOT NULL default '',
approval integer NOT NULL default '0',
scale integer NOT NULL default '0',

View File

@ -5,7 +5,7 @@
// This fragment is called by /admin/index.php
////////////////////////////////////////////////////////////////////////////////
$module->version = 2006050500;
$module->version = 2006052400;
$module->requires = 2005060230; // Requires this Moodle version
$module->cron = 60;