Tenant configuration information table
| 580 | |
| 581 | |
| 582 | class TenantConfig(TableBase): |
| 583 | """ |
| 584 | Tenant configuration information table |
| 585 | """ |
| 586 | __tablename__ = "tenant_config_t" |
| 587 | __table_args__ = {"schema": SCHEMA} |
| 588 | |
| 589 | tenant_config_id = Column(Integer, Sequence( |
| 590 | "tenant_config_t_tenant_config_id_seq", schema=SCHEMA), primary_key=True, nullable=False, doc="ID") |
| 591 | tenant_id = Column(String(100), doc="Tenant ID") |
| 592 | user_id = Column(String(100), doc="User ID") |
| 593 | value_type = Column(String( |
| 594 | 100), doc=" the data type of config_value, optional values: single/multi", default="single") |
| 595 | config_key = Column(String(100), doc="the key of the config") |
| 596 | config_value = Column(Text, doc="the value of the config") |
| 597 | |
| 598 | |
| 599 | class MemoryUserConfig(TableBase): |