Make renaming columns with PHP DB API idempotent (#4367)
authorMatthias Schmidt <gravatronics@live.com>
Mon, 5 Jul 2021 09:15:20 +0000 (11:15 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Jul 2021 09:15:20 +0000 (11:15 +0200)
commit1a029332791f3e3cdca054d8f139857b5ef78791
tree76f496730bfe49f5893fe9f95048634cad8eb144
parent860cb62df790a3cd398c77f77658d6c5c1de2bba
Make renaming columns with PHP DB API idempotent (#4367)

An error message should only be shown if the neither a column with the old name, nor with the name name exists so that after the rename, a second rename is a no-op.

Close #4362
See #3765
wcfsetup/install/files/lib/system/database/table/DatabaseTableChangeProcessor.class.php