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:
parent
39471ea912
commit
fb0bc2d18c
1 changed files with 1 additions and 1 deletions
|
@ -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)" );
|
||||
|
|
Loading…
Reference in a new issue