Fix 8742: The pre update is now executed

This commit is contained in:
Michael 2020-06-07 16:41:01 +00:00
부모 51a6b0fcb6
커밋 4c4f2c6a20
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -512,7 +512,7 @@ function update_1351()
function pre_update_1354()
{
if(DBStructure::existsColumn('contact', 'ffi_keyword_blacklist')
if (DBStructure::existsColumn('contact', ['ffi_keyword_blacklist'])
&& !DBA::e("ALTER TABLE `contact` CHANGE `ffi_keyword_blacklist` `ffi_keyword_denylist` text null")) {
return Update::FAILED;
}