Improved fix for the dbDelta() problem thanks to kurtpayne