Merge "Do the schema update on the virtual domain"

This commit is contained in:
jenkins-bot 2024-11-21 08:41:15 +00:00 committed by Gerrit Code Review
commit 881102d548

View file

@ -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
] );
}
}