partially-complete migrations cause incorrect schema_info.version values

This might just be me (or my database - pgsql 8.x), but it seems that if an activerecord migration fails, the schema_info version is updated as though they succeeded.

Is that right - if so, why?