diff --git a/app/models.py b/app/models.py index 9506b41..f7bc7f3 100644 --- a/app/models.py +++ b/app/models.py @@ -61,8 +61,6 @@ class Category(Base): id: Mapped[int] = mapped_column(Integer, primary_key=True) name: Mapped[str] = mapped_column(String(128), unique=True, index=True) slug: Mapped[str] = mapped_column(String(64), unique=True, index=True) - first_name: Mapped[str] = mapped_column(String(64), default="") - last_name: Mapped[str] = mapped_column(String(64), default="") created_at: Mapped[dt.datetime] = mapped_column(DateTime(timezone=True), default=lambda: dt.datetime.now(dt.timezone.utc)) @@ -73,8 +71,6 @@ class ServiceCategory(Base): id: Mapped[int] = mapped_column(Integer, primary_key=True) service_id: Mapped[int] = mapped_column(ForeignKey("services.id", ondelete="CASCADE"), index=True) category_id: Mapped[int] = mapped_column(ForeignKey("categories.id", ondelete="CASCADE"), index=True) - first_name: Mapped[str] = mapped_column(String(64), default="") - last_name: Mapped[str] = mapped_column(String(64), default="") created_at: Mapped[dt.datetime] = mapped_column(DateTime(timezone=True), default=lambda: dt.datetime.now(dt.timezone.utc)) @@ -96,8 +92,6 @@ class RdpSlot(Base): rdp_username: Mapped[str] = mapped_column(String(128)) rdp_password: Mapped[str] = mapped_column(String(256), default="") container_name: Mapped[Optional[str]] = mapped_column(String(128), nullable=True) - first_name: Mapped[str] = mapped_column(String(64), default="") - last_name: Mapped[str] = mapped_column(String(64), default="") created_at: Mapped[dt.datetime] = mapped_column(DateTime(timezone=True), default=lambda: dt.datetime.now(dt.timezone.utc))