Bug 20581: (follow-up) Fix typo in DB upgrade

IN -> ON

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Andrew Isherwood 2019-02-05 15:19:12 +00:00 committed by Nick Clemens
parent 39471ea912
commit fb0bc2d18c

View file

@ -12,7 +12,7 @@ if( CheckVersion( $DBversion ) ) {
$dbh->do( "ALTER TABLE illrequests DROP FOREIGN KEY illrequests_safk");
}
if ( index_exists( 'illrequests', 'illrequests_safk' ) ) {
$dbh->do( "DROP INDEX illrequests_safk IN illrequests" );
$dbh->do( "DROP INDEX illrequests_safk ON illrequests" );
}
# Now change the illrequests.status_alias column definition from int to varchar
$dbh->do( "ALTER TABLE illrequests MODIFY COLUMN status_alias varchar(80)" );