Skip to content

Commit

Permalink
Fix path to SQL script
Browse files Browse the repository at this point in the history
WikibaseQualityConstraintsHooks.php was moved into src/ (formerly
includes/) in commit 82bffae (change I85f4f333a9), which I failed to
account for when rebasing commit 8fe3d02 (change I3201fda882).

Bug: T180834
Change-Id: Ic7827287a9f141f4b7d533a2bcb7cde969fa3d90
  • Loading branch information
lucaswerkmeister committed Mar 7, 2018
1 parent 64888bd commit d6bc197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WikibaseQualityConstraintsHooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ final class WikibaseQualityConstraintsHooks {
*/
public static function onCreateSchema( DatabaseUpdater $updater ) {
$updater->addExtensionTable( 'wbqc_constraints', __DIR__ . '/../sql/create_wbqc_constraints.sql' );
$updater->addExtensionField( 'wbqc_constraints', 'constraint_id', __DIR__ . '/sql/patch-wbqc_constraints-constraint_id.sql' );
$updater->addExtensionField( 'wbqc_constraints', 'constraint_id', __DIR__ . '/../sql/patch-wbqc_constraints-constraint_id.sql' );
}

public static function onWikibaseChange( Change $change ) {
Expand Down

0 comments on commit d6bc197

Please sign in to comment.