How to set a GIN index on the JSONB column?
How can I set a GIN index on the whole jsonb column and also on a single column?
Is currently giving me this only:
2 Replies
Hey @Paul! You can use new index API for orm version 0.31 or higher & drizzle-kit version 0.22.0 or higher.
https://github.com/drizzle-team/drizzle-orm/releases/tag/0.31.0
But I am not sure about the second one
GitHub
Release 0.31.0 · drizzle-team/drizzle-orm
Breaking changes
Note: [email protected] can be used with [email protected] or higher. The same applies to Drizzle Kit. If you run a Drizzle Kit command, it will check and prompt you for an upgr...
Awesome. Thanks so much @Mykhailo . I updated the syntax slightly for the second one and it works perfectly with the latest API.
Gives me