r108935 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108934‎ | r108935 | r108936 >
Date:19:06, 14 January 2012
Author:jeroendedauw
Status:ok
Tags:
Comment:
follow up to r108934 - forgot index and stuff in patch file
Modified paths:
  • /trunk/extensions/EducationProgram/sql/AddExtraFields.sql (modified) (history)
  • /trunk/extensions/EducationProgram/sql/EducationProgram.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/EducationProgram/sql/AddExtraFields.sql
@@ -4,12 +4,10 @@
55 -- Author: Jeroen De Dauw < jeroendedauw@gmail.com >
66
77 ALTER TABLE /*_*/ep_orgs ADD COLUMN org_courses SMALLINT unsigned NOT NULL;
8 -ALTER TABLE /*_*/ep_orgs ADD COLUMN org_mentors SMALLINT unsigned NOT NULL;
98 ALTER TABLE /*_*/ep_orgs ADD COLUMN org_terms SMALLINT unsigned NOT NULL;
109 ALTER TABLE /*_*/ep_orgs ADD COLUMN org_students INT unsigned NOT NULL;
1110
1211 CREATE INDEX /*i*/ep_org_courses ON /*_*/ep_orgs (org_courses);
13 -CREATE INDEX /*i*/ep_org_mentors ON /*_*/ep_orgs (org_mentors);
1412 CREATE INDEX /*i*/ep_org_terms ON /*_*/ep_orgs (org_terms);
1513 CREATE INDEX /*i*/ep_org_students ON /*_*/ep_orgs (org_students);
1614
Index: trunk/extensions/EducationProgram/sql/EducationProgram.sql
@@ -19,7 +19,6 @@
2020 CREATE UNIQUE INDEX /*i*/ep_org_name ON /*_*/ep_orgs (org_name);
2121 CREATE INDEX /*i*/ep_org_terms ON /*_*/ep_orgs (org_terms);
2222 CREATE INDEX /*i*/ep_org_courses ON /*_*/ep_orgs (org_courses);
23 -CREATE INDEX /*i*/ep_org_mentors ON /*_*/ep_orgs (org_mentors);
2423 CREATE INDEX /*i*/ep_org_students ON /*_*/ep_orgs (org_students);
2524 CREATE INDEX /*i*/ep_org_active ON /*_*/ep_orgs (org_active);
2625

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108934drop mentors field in orgs tablejeroendedauw18:35, 14 January 2012

Status & tagging log