Upgrade from 7.1.1 to 7.1.2 fails on database column rename

When upgrading SuiteCRM from 7.1.1 to 7.1.2, the installer fails with following message in log file.

Thu Jul 10 17:16:28 2014 [2900][1][FATAL]  Query Failed:  ALTER TABLE aor_fields CHANGE function field_function VARCHAR( 100 ): MySQL error 1054: Unknown column 'function' in 'aor_fields'

For more details, pls see this thread.

Hi there,

Thanks for highlighting this. It seems that this failed due to the column already being field_function(hence you had to change back to function).



Indeed. And hence it is a bug which I reported here.