add test_find_by_type_and_name

This commit is contained in:
phernandez
2024-12-11 17:55:54 -06:00
parent 74ff668a0a
commit dbbf5b9263
4 changed files with 95 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class Entity(Base):
__tablename__ = "entity"
id: Mapped[str] = mapped_column(String, primary_key=True)
name: Mapped[str] = mapped_column(String, unique=True, index=True)
name: Mapped[str] = mapped_column(String, index=True)
entity_type: Mapped[str] = mapped_column(String)
description: Mapped[Optional[str]] = mapped_column(Text, nullable=True)
created_at: Mapped[datetime] = mapped_column(