delete code from flask sqlalchemy