mirror of
https://github.com/moodle/moodle.git
synced 2025-02-23 03:18:07 +01:00
Added default values to migrate2utf8.xml, for any varchar and text field types, if the default values for these fields were not defined as '' in the MySQL table creation script. Committed by vyshane
13 lines
487 B
SQL
13 lines
487 B
SQL
CREATE TABLE `prefix_label` (
|
|
`id` int(10) unsigned NOT NULL auto_increment,
|
|
`course` int(10) unsigned NOT NULL default '0',
|
|
`name` varchar(255) NOT NULL default '',
|
|
`content` text NOT NULL default '',
|
|
`timemodified` int(10) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY course (course)
|
|
) COMMENT='Defines labels';
|
|
|
|
INSERT INTO prefix_log_display VALUES ('label', 'add', 'quiz', 'name');
|
|
INSERT INTO prefix_log_display VALUES ('label', 'update', 'quiz', 'name');
|