Get update_attributes working with SchemaMigration
You cannot use `update_attributes` on models that do not have a primary key. Since SchemaMigration versions are guaranteed to be unique (they have a unique index on them) we can safely use them as a primary key.
Showing
想要评论请 注册 或 登录