mirror of
https://github.com/moodle/moodle.git
synced 2025-02-18 23:05:30 +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
18 lines
613 B
SQL
18 lines
613 B
SQL
# This file contains a complete database schema for all the
|
|
# tables used by this module, written in SQL
|
|
|
|
# It may also contain INSERT statements for particular data
|
|
# that may be used, especially new entries in the table log_display
|
|
|
|
CREATE TABLE prefix_lams (
|
|
id int(10) unsigned NOT NULL auto_increment,
|
|
course int(10) unsigned NOT NULL default '0',
|
|
name varchar(255) NOT NULL default '',
|
|
introduction text NOT NULL default '',
|
|
learning_session_id bigint(20) default '0',
|
|
timemodified int(10) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
KEY course (course)
|
|
)COMMENT='LAMS activity';
|
|
|