开发者

How do you add indexes to databases with MigratorDotNet?

开发者 https://www.devze.com 2023-01-04 00:15 出处:网络
Can someone point me in the right 开发者_StackOverflow中文版direction for creating indexes when using MigratorDotNet?

Can someone point me in the right 开发者_StackOverflow中文版direction for creating indexes when using MigratorDotNet?

I have some tables which need multi column indexes.

Thanks


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消