I have a flask-sqlalchemy model:
class MyModel(db.Model): __tablename__ = \'targets\' id = db.Column(db.Integer, primary_key=True) url = db.Column(db.String(2048
Call create() on the Index:
create()
index.create()
http://docs.sqlalchemy.org/en/latest/core/constraints.html#sqlalchemy.schema.Index.create