8 lines
233 B
Python
8 lines
233 B
Python
|
from app import db
|
||
|
from sqlalchemy.orm import Mapped, mapped_column
|
||
|
|
||
|
class ImagesCache(db.Model):
|
||
|
__tablename__ = "image_cache"
|
||
|
|
||
|
codename: Mapped[str] = mapped_column(primary_key=True)
|
||
|
image: Mapped[str] = mapped_column()
|