fix: remove duplicate index definitions from model columns
This commit is contained in:
@@ -39,7 +39,6 @@ class User(Base):
|
||||
website_id: Mapped[int] = mapped_column(
|
||||
ForeignKey("websites.id", ondelete="CASCADE", onupdate="CASCADE"),
|
||||
nullable=False,
|
||||
index=True,
|
||||
comment="Website identifier",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user