Can someone point me in the right direction for creating indexes when using MigratorDotNet?
I have some tables which need multi column indexes.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As of 0.8, it doesn’t look like it’s possible. A patch for adding multi-columned indexes was submitted sometime back in 2009, but it hasn’t been accepted yet.
The code to do this can be found here. I’d post a complete snipped from the patch, but I’m not sure what kind of licensing issues you or anyone else that’s reading this answer might face by looking at MPL code.