Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater Class Reference

Schema updater for SqlUsageTracker. More...

+ Inheritance diagram for Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater:
+ Collaboration diagram for Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater:

Public Member Functions

 onLoadExtensionSchemaUpdates ( $updater)
 Applies any schema updates.
 

Static Public Member Functions

static fillUsageTable (DatabaseUpdater $dbUpdater)
 Static wrapper for EntityUsageTableBuilder::fillUsageTable.
 

Private Member Functions

 getUpdateScriptPath (string $name, string $type)
 
 getScriptPath (string $name, string $type)
 

Detailed Description

Schema updater for SqlUsageTracker.

Author
Daniel Kinzler

Member Function Documentation

◆ fillUsageTable()

static Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater::fillUsageTable ( DatabaseUpdater $dbUpdater)
static

Static wrapper for EntityUsageTableBuilder::fillUsageTable.

◆ getScriptPath()

Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater::getScriptPath ( string $name,
string $type )
private

◆ getUpdateScriptPath()

Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater::getUpdateScriptPath ( string $name,
string $type )
private

◆ onLoadExtensionSchemaUpdates()

Wikibase\Client\Usage\Sql\SqlUsageTrackerSchemaUpdater::onLoadExtensionSchemaUpdates ( $updater)

Applies any schema updates.

Parameters
DatabaseUpdater$updaterDatabaseUpdater subclass

The documentation for this class was generated from the following file: