I would like to use the autoincrement option on the field id in SQLAlchemy without setting the column as a primary key. Something like that:
class CaseModel(db.Model):
__tablename__ = 'case'
unique_id = db.Column(UUID(as_uuid=True), unique=True, nullable=False, primary_key=True)
id = db.Column(db.Integer(), autoincrement=True)
Is that possible?