mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
Changes throughout Moodle to remove any reserved words from the
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
This commit is contained in:
parent
1f48942e7d
commit
ebc3bd2b24
68 changed files with 277 additions and 461 deletions
|
@ -41,7 +41,7 @@ CREATE TABLE prefix_forum_posts (
|
|||
id int(10) unsigned NOT NULL auto_increment,
|
||||
discussion int(10) unsigned NOT NULL default '0',
|
||||
parent int(10) unsigned NOT NULL default '0',
|
||||
user int(10) unsigned NOT NULL default '0',
|
||||
userid int(10) unsigned NOT NULL default '0',
|
||||
created int(10) unsigned NOT NULL default '0',
|
||||
modified int(10) unsigned NOT NULL default '0',
|
||||
mailed tinyint(1) unsigned NOT NULL default '0',
|
||||
|
@ -60,7 +60,7 @@ CREATE TABLE prefix_forum_posts (
|
|||
|
||||
CREATE TABLE prefix_forum_ratings (
|
||||
id int(10) unsigned NOT NULL auto_increment,
|
||||
user int(10) unsigned NOT NULL default '0',
|
||||
userid int(10) unsigned NOT NULL default '0',
|
||||
post int(10) unsigned NOT NULL default '0',
|
||||
time int(10) unsigned NOT NULL default '0',
|
||||
rating tinyint(4) NOT NULL default '0',
|
||||
|
@ -74,7 +74,7 @@ CREATE TABLE prefix_forum_ratings (
|
|||
|
||||
CREATE TABLE prefix_forum_subscriptions (
|
||||
id int(10) unsigned NOT NULL auto_increment,
|
||||
user int(10) unsigned NOT NULL default '0',
|
||||
userid int(10) unsigned NOT NULL default '0',
|
||||
forum int(10) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (id),
|
||||
UNIQUE KEY id (id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue