feat: modules creation
This commit is contained in:
@ -84,6 +84,6 @@ class ModuleTab(BaseModel):
|
||||
id: Mapped[int] = mapped_column(primary_key=True)
|
||||
key: Mapped[str] = mapped_column(unique=True)
|
||||
label: Mapped[str] = mapped_column()
|
||||
icon_name: Mapped[str] = mapped_column()
|
||||
icon_name: Mapped[Optional[str]] = mapped_column()
|
||||
module_id: Mapped[int] = mapped_column(ForeignKey("modules.id"))
|
||||
device: Mapped[DeviceType] = mapped_column(default=DeviceType.BOTH)
|
||||
|
||||
Reference in New Issue
Block a user