Fix reference column names in DB schema.