-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Request: enable "indexType" on MySQL dialect. #1840
Comments
This is very important, how can I create an index of type |
@douglasjunior with |
@douglasjunior According to documentation, it is supported, see https://knexjs.org/#Schema-index |
@kibertoad not work with MySQL. I'm writing a PR right now. 😆 |
Done #2890. |
await knex.schema.alterTable('article_attribute', (table) => {
table.index('value_text', 'article_attribute_value_text', 'FULLTEXT');
}); |
I want to create spatial index to specific column by using this feature.
I know
knex.raw
make it possible to do.The text was updated successfully, but these errors were encountered: