mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Teacher can now use the richtext editor to edit the assignment text
This commit is contained in:
parent
7ce20f09cb
commit
b425749fc3
5 changed files with 44 additions and 5 deletions
|
@ -79,6 +79,10 @@ function assignment_upgrade($oldversion) {
|
|||
}
|
||||
}
|
||||
|
||||
if ($oldversion < 2002101600) {
|
||||
execute_sql(" ALTER TABLE `assignment` ADD `format` TINYINT(2) UNSIGNED DEFAULT '0' NOT NULL AFTER `description` ");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ CREATE TABLE `assignment` (
|
|||
`course` int(10) unsigned NOT NULL default '0',
|
||||
`name` varchar(255) NOT NULL default '',
|
||||
`description` text NOT NULL,
|
||||
`format` tinyint(2) unsigned NOT NULL default '0',
|
||||
`type` int(10) unsigned NOT NULL default '1',
|
||||
`maxbytes` int(10) unsigned NOT NULL default '100000',
|
||||
`timedue` int(10) unsigned NOT NULL default '0',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue