MediaWiki
REL1_24
|
Class for setting up the MediaWiki database using Microsoft SQL Server. More...
Protected Member Functions | |
getCoreUpdateList () | |
Get an array of updates to perform on the database. | |
updateConstraints ($constraintType, $table, $field) | |
Drops unnamed and creates named constraints following the pattern <column>_ckc. | |
Protected Attributes | |
DatabaseMssql | $db |
Handle to the database subclass. |
Class for setting up the MediaWiki database using Microsoft SQL Server.
Definition at line 31 of file MssqlUpdater.php.
MssqlUpdater::getCoreUpdateList | ( | ) | [protected] |
Get an array of updates to perform on the database.
Should return a multi-dimensional array. The main key is the MediaWiki version (1.12, 1.13...) with the values being arrays of updates, identical to how updaters.inc did it (for now)
Reimplemented from DatabaseUpdater.
Definition at line 37 of file MssqlUpdater.php.
References array().
MssqlUpdater::updateConstraints | ( | $ | constraintType, |
$ | table, | ||
$ | field | ||
) | [protected] |
Drops unnamed and creates named constraints following the pattern <column>_ckc.
string | $constraintType | |
string | $table | Name of the table to which the field belongs |
string | $field | Name of the field to modify |
Definition at line 73 of file MssqlUpdater.php.
DatabaseMssql MssqlUpdater::$db [protected] |
Handle to the database subclass.
Reimplemented from DatabaseUpdater.
Definition at line 35 of file MssqlUpdater.php.