Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support creating composite indexes in migrations #193

Open
tiagoengel opened this issue Aug 16, 2016 · 0 comments
Open

Support creating composite indexes in migrations #193

tiagoengel opened this issue Aug 16, 2016 · 0 comments

Comments

@tiagoengel
Copy link

There's no support for creating composite indexes (indexes on multiple columns) in migrations, unless using raw sql.

I think the addIndex function should accept a string (like today) or an array in the column param.

The addIndex and the removeIndex functions need to be changed to support this.

The persistence.store.websql module already supports composite indexes in the createIndex function. The addIndex implementation could be very similar to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant