The situation is I have a JSON column type in a postgresql table. I'd like to create an index on one or more of the keys in the json. I believe I know how to do this using sql (Side note: I was under the impression that you had to be using jsonb to have this kind of indexing according to the postgresql docs. Doesn't seem like that's the case.)
For consistency, I'd like to do this through sqlalchemy, but I don't see any mention on how to do this in their docs. Is this possible?