I want to update a postgres tsvector column after each insert. So I declared this model structure:
models.py
db = SQLAlchemy() from sqlalchemy.types