Permalink
Browse files

Dropping any pretense of Postgres support for the moment, and added a…

… README
  • Loading branch information...
1 parent 90ead1c commit dafa318bab46688d56945df312e8daba11ba1d7a martin committed Jul 27, 2002
Showing with 22 additions and 392 deletions.
  1. +9 −0 lib/db/README
  2. +13 −0 lib/db/mysql.sql
  3. +0 −392 lib/db/postgres7.sql
View
@@ -0,0 +1,9 @@
+Once databases exist, Moodle should support a wide
+variety of databases (because it uses the ADODB library).
+
+Unfortunately, database differences still means that
+the *creation* of the databases is very different.
+
+This directory (and the db directory in each module)
+contains SQL code for creating Moodle databases on
+each type of database.
View
@@ -11,6 +11,19 @@
# --------------------------------------------------------
#
+# Table structure for table `config`
+#
+
+CREATE TABLE `config` (
+ `id` int(10) unsigned NOT NULL auto_increment,
+ `name` varchar(255) NOT NULL default '',
+ `value` varchar(255) NOT NULL default '',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) TYPE=MyISAM COMMENT='Moodle configuration variables';
+# --------------------------------------------------------
+
+#
# Table structure for table `course`
#
Oops, something went wrong.

0 comments on commit dafa318

Please sign in to comment.