Fixed Migration.__eq__

Migrations should be compared for equality by version and name, not by
everything (including up and down sql).