Add and/or rename columns in refinery tables needed by refinery upgrade