-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mysql): add support for vector indices (#139)
* feat(mysql): add support for vector indices PlanetScale recently added vector support to their fork of mysql. If a vector index is added to it, then sea-orm generate entity command panics because the index type is not recognized by its parser. This PR adds support for recognizing vector indices as a valid index type. Test Plan: Created a planet scale database with a vector index, and ran `generate entity` command. Verified that after this change, the command no longer crashes and creates valid files. * gate behind planetscale feature flag
- Loading branch information
Showing
3 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters