From c999d7b996c931bbc739782e8180cf432d127080 Mon Sep 17 00:00:00 2001 From: Alex Winkler Date: Tue, 16 Apr 2024 15:47:44 +0200 Subject: [PATCH] Update SchemaHookHandler.php --- src/Hooks/SchemaHookHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Hooks/SchemaHookHandler.php b/src/Hooks/SchemaHookHandler.php index b700ca4..562e884 100644 --- a/src/Hooks/SchemaHookHandler.php +++ b/src/Hooks/SchemaHookHandler.php @@ -18,11 +18,11 @@ public function onLoadExtensionSchemaUpdates( $updater ) { if ( !$db->tableExists( 'resourceloaderarticles', __METHOD__ ) ) { $updater->output( "Creating resourceloaderarticles table resourceloaderarticles ...\n" ); - $db->sourceFile( __DIR__ . '/../sql/resourceloaderarticles.sql' ); + $db->sourceFile( __DIR__ . '/../../sql/resourceloaderarticles.sql' ); $updater->output( "done.\n" ); } elseif ( !$db->fieldExists( 'resourceloaderarticles', 'rla_priority', __METHOD__ ) ) { $updater->output( "Adding `rla_priority` to resourceloaderarticles table resourceloaderarticles ...\n" ); - $db->sourceFile( __DIR__ . '/../sql/resourceloaderarticlesPriorityMigration.sql' ); + $db->sourceFile( __DIR__ . '/../../sql/resourceloaderarticlesPriorityMigration.sql' ); $updater->output( "done.\n" ); } else { $updater->output( "...resourceloaderarticles table already exists.\n" );