drop PgSQL 14, unite migration for SQLite and PgSQL (#10165)

This commit is contained in:
Alexander Piskun
2025-10-03 21:34:06 +03:00
committed by GitHub
parent 94941c50b3
commit fd6ac0a765
3 changed files with 4 additions and 15 deletions

View File

@@ -77,6 +77,7 @@ class Asset(Base):
)
__table_args__ = (
Index("uq_assets_hash", "hash", unique=True),
Index("ix_assets_mime_type", "mime_type"),
CheckConstraint("size_bytes >= 0", name="ck_assets_size_nonneg"),
)