Reputation: 1459
this is my definition of my table.. not sure how to trigger it to make the column a TEXT or BLOB column instead of using VARCHAR all the time...
class Mailings(db.Model):
__tablename__ = 'mailings'
id: Mapped[str] = mapped_column(primary_key=True)
title: Mapped[str]
textversion: Mapped[str]
htmlversion: Mapped[str]
permalink: Mapped[str]
Upvotes: 0
Views: 9