mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 08:11:26 +01:00
ebc3bd2b24
Moodle tables. ie user -> userid in many tables, plus in user_students start -> starttime and end -> endtime I've just done all this as carefully as I could ... I don't think I missed anything but it's pretty intensive work and I'd be fooling myself if I didn't think I'd missed a couple. Note that this version should pretty much be able to bootstrap itself using PostgreSQL now ... but this is untested
58 lines
1.4 KiB
SQL
Executable File
58 lines
1.4 KiB
SQL
Executable File
# 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:44 PM
|
|
# Server version: 3.23.36
|
|
# PHP Version: 4.0.6
|
|
# Database : `moodle`
|
|
# --------------------------------------------------------
|
|
|
|
#
|
|
# Table structure for table `choice`
|
|
#
|
|
|
|
CREATE TABLE choice (
|
|
id SERIAL PRIMARY KEY,
|
|
course integer NOT NULL default '0',
|
|
name varchar(255) NOT NULL default '',
|
|
text text NOT NULL default '',
|
|
answer1 varchar(255) NOT NULL default 'Yes',
|
|
answer2 varchar(255) NOT NULL default 'No',
|
|
answer3 varchar(255) default NULL,
|
|
answer4 varchar(255) default NULL,
|
|
answer5 varchar(255) default NULL,
|
|
answer6 varchar(255) default NULL,
|
|
timemodified integer NOT NULL default '0'
|
|
);
|
|
|
|
|
|
# --------------------------------------------------------
|
|
|
|
#
|
|
# Table structure for table `choice_answers`
|
|
#
|
|
|
|
CREATE TABLE choice_answers (
|
|
id SERIAL PRIMARY KEY,
|
|
choice integer NOT NULL default '0',
|
|
userid integer NOT NULL default '0',
|
|
answer integer NOT NULL default '0',
|
|
timemodified integer NOT NULL default '0'
|
|
);
|
|
|
|
#
|
|
# Dumping data for table `log_display`
|
|
#
|
|
|
|
INSERT INTO log_display VALUES ('choice', 'view', 'choice', 'name');
|
|
INSERT INTO log_display VALUES ('choice', 'update', 'choice', 'name');
|
|
INSERT INTO log_display VALUES ('choice', 'add', 'choice', 'name');
|
|
INSERT INTO log_display VALUES ('choice', 'report', 'choice', 'name');
|
|
|
|
|
|
|
|
|