table_column('cache_text','formattedtext','formattedtext','longblob','','','','not null');
}
+ if ($oldversion < 2006041100) {
+ table_column('course_modules','','visibleold','integer','1','unsigned','1','not null', 'visible');
+ }
+
return $result;
}
`score` tinyint(4) NOT NULL default '0',
`indent` int(5) unsigned NOT NULL default '0',
`visible` tinyint(1) NOT NULL default '1',
+ `visibleold` tinyint(1) NOT NULL default '1',
`groupmode` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`),
execute_sql(" CREATE INDEX {$CFG->prefix}course_sections_coursesection_idx ON {$CFG->prefix}course_sections (course,section) ", false);
}
+ if ($oldversion < 2006041100) {
+ table_column('course_modules','','visibleold','integer','1','unsigned','1','not null', 'visible');
+ }
+
return $result;
}
score integer NOT NULL default '0',
indent integer NOT NULL default '0',
visible integer NOT NULL default '1',
+ visibleold integer NOT NULL default '1',
groupmode integer NOT NULL default '0'
);
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
- $version = 2006041001; // YYYYMMDD = date
+ $version = 2006041100; // YYYYMMDD = date
// XY = increments within a single day
- $release = '1.6 Beta 2'; // Human-friendly version name
+ $release = '1.6 Beta 3'; // Human-friendly version name
?>