9fa49e22ab
Basically all the Database functions are in lib/datalib.php and the web functions are all in lib/weblib.php, so moodlelib.php is much thinner than it was. Data functions have been extended ... most old calls will still work, but now many more SQL commands can be performed using the datalib functions rather than using SQL. I'm currently moving through the whole tree replacing SQL calls or at least concentrating them in one section of mod/xxx/lib.php Still working on forums, quizzes, surveys, resources. The tree is currently not full working ... some things are half-completed ... will resume tomorrow.
36 lines
937 B
SQL
Executable File
36 lines
937 B
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:43 PM
|
|
# Server version: 3.23.36
|
|
# PHP Version: 4.0.6
|
|
# Database : `moodle`
|
|
# --------------------------------------------------------
|
|
|
|
#
|
|
# Table structure for table `resource`
|
|
#
|
|
|
|
CREATE TABLE prefix_resource (
|
|
id int(10) unsigned NOT NULL auto_increment,
|
|
course tinyint(10) unsigned NOT NULL default '0',
|
|
name varchar(255) NOT NULL default '',
|
|
type tinyint(4) NOT NULL default '0',
|
|
reference varchar(255) default NULL,
|
|
summary text NOT NULL,
|
|
alltext text NOT NULL,
|
|
timemodified int(10) unsigned NOT NULL default '0',
|
|
PRIMARY KEY (id),
|
|
UNIQUE KEY id (id)
|
|
) TYPE=MyISAM;
|
|
|
|
|
|
#
|
|
# Dumping data for table `log_display`
|
|
#
|
|
|
|
INSERT INTO prefix_log_display VALUES ('resource', 'view', 'resource', 'name');
|