How to create jsonb attribute index in drizzle

Suppose I have a table
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
Was this page helpful?