moodle/mod/resource/db/postgres7.sql

36 lines
983 B
SQL

# phpMyAdmin MySQL-Dump
# version 2.2.1
# http://phpwizard.net/phpMyAdmin/
# http://phpmyadmin.sourceforge.net/ (download page)
#
# Host: localhost
# Generation Time: Nov 14, 2001 at 04:43 PM
# Server version: 3.23.36
# PHP Version: 4.0.6
# Database : `moodle`
# --------------------------------------------------------
#
# Table structure for table `resource`
#
CREATE TABLE prefix_resource (
id SERIAL PRIMARY KEY,
course integer NOT NULL default '0',
name varchar(255) NOT NULL default '',
type integer NOT NULL default '0',
reference varchar(255) default NULL,
summary text NOT NULL default '',
alltext text NOT NULL default '',
timemodified integer NOT NULL default '0'
);
#
# Dumping data for table `log_display`
#
INSERT INTO prefix_log_display VALUES ('resource', 'view', 'resource', 'name');
INSERT INTO prefix_log_display VALUES ('resource', 'update', 'resource', 'name');
INSERT INTO prefix_log_display VALUES ('resource', 'add', 'resource', 'name');