moodle/mod/label/db/mysql.sql
moodler f6691427d9 Added default values where needed for columns in the MySQL creation script mysql.sql.
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
2006-01-17 07:37:29 +00:00

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');