How to create jsonb attribute index in drizzle

Suppose I have a table
Books
author: varchar
extra: jsonb
Books
author: varchar
extra: jsonb
I want to create an index on extra ->> 'createdDate', how do I do this in drizzle I know this is possible in postgres, just want to know if its possible on drizzle with sql operator? or should I create this manually
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server