moodle/mod/label/db/postgres7.sql
2006-04-24 08:28:21 +00:00

13 lines
465 B
SQL

CREATE TABLE prefix_label (
id SERIAL PRIMARY KEY,
course integer NOT NULL default '0',
name varchar(255) default NULL,
content text,
timemodified integer NOT NULL default '0'
);
CREATE INDEX prefix_label_course_idx ON prefix_label (course);
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('label', 'add', 'quiz', 'name');
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('label', 'update', 'quiz', 'name');