mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-23 14:36:53 +00:00
Merge "Do the schema update on the virtual domain"
This commit is contained in:
commit
881102d548
|
@ -10,9 +10,12 @@ class SchemaHooks implements LoadExtensionSchemaUpdatesHook {
|
|||
* @param DatabaseUpdater $updater
|
||||
*/
|
||||
public function onLoadExtensionSchemaUpdates( $updater ) {
|
||||
$updater->addExtensionTable(
|
||||
$updater->addExtensionUpdateOnVirtualDomain( [
|
||||
'virtual-LoginNotify',
|
||||
'addTable',
|
||||
'loginnotify_seen_net',
|
||||
dirname( __DIR__ ) . "/sql/{$updater->getDB()->getType()}/tables-generated.sql"
|
||||
);
|
||||
dirname( __DIR__ ) . "/sql/{$updater->getDB()->getType()}/tables-generated.sql",
|
||||
true
|
||||
] );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue