moodle/mod/lams/db/postgres7.sql
2005-11-17 21:36:55 +00:00

18 lines
574 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 SERIAL PRIMARY KEY,
course integer NOT NULL default '0',
name varchar(255) NOT NULL default '',
introduction text NOT NULL default '',
learning_session_id integer NOT NULL default '0',
timemodified integer NOT NULL default '0'
);
CREATE INDEX prefix_lams_course_idx ON prefix_lams (course);