no-unique-index
All checks were successful
Deploy to core / deploy (push) Successful in 1m33s

This commit is contained in:
2024-02-19 17:22:38 +03:00
parent 981a4c4fce
commit 69984788fa
6 changed files with 8 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ class ShoutCollection(Base):
class Collection(Base):
__tablename__ = 'collection'
slug = Column(String, unique=True, index=True)
slug = Column(String, unique=True)
title = Column(String, nullable=False, comment='Title')
body = Column(String, nullable=True, comment='Body')
pic = Column(String, nullable=True, comment='Picture')