Skip to content

Commit

Permalink
Split lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega authored Nov 18, 2024
1 parent 4c57c07 commit 88e8693
Showing 1 changed file with 22 additions and 7 deletions.
29 changes: 22 additions & 7 deletions includes/HookHandlers/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,27 @@ class Installer implements LoadExtensionSchemaUpdatesHook {
public function onLoadExtensionSchemaUpdates( $updater ) {
$dir = __DIR__ . '/../../sql';

$updater->addExtensionTable( 'rottenlinks', "$dir/rottenlinks.sql" );

$updater->addExtensionField( 'rottenlinks', 'rl_id', "$dir/patches/patch-add-rl_id.sql" );

$updater->addExtensionIndex( 'rottenlinks', 'rl_externallink', "$dir/patches/20210215.sql" );

$updater->dropExtensionField( 'rottenlinks', 'rl_pageusage', "$dir/patches/patch-drop-rl_pageusage.sql" );
$updater->addExtensionTable(
'rottenlinks',
"$dir/rottenlinks.sql"
);

$updater->addExtensionField(
'rottenlinks',
'rl_id',
"$dir/patches/patch-add-rl_id.sql"
);

$updater->addExtensionIndex(
'rottenlinks',
'rl_externallink',
"$dir/patches/20210215.sql"
);

$updater->dropExtensionField(
'rottenlinks',
'rl_pageusage',
"$dir/patches/patch-drop-rl_pageusage.sql"
);
}
}

0 comments on commit 88e8693

Please sign in to comment.