Added where option to add_index to support postgresql partial indices
The `add_index` method now supports a `where` option that receives a string with the partial index criteria. add_index(:accounts, :code, :where => "active") Generates CREATE INDEX index_accounts_on_code ON accounts(code) WHERE active
Showing
想要评论请 注册 或 登录