- Covered by data-persistence-service tests (db/api). - No references or compose entries.
14 lines
324 B
Python
14 lines
324 B
Python
"""
|
|
System Configuration Model
|
|
"""
|
|
from sqlalchemy import Column, String, JSON
|
|
from sqlalchemy.orm import declarative_base
|
|
|
|
Base = declarative_base()
|
|
|
|
class SystemConfig(Base):
|
|
__tablename__ = 'system_config'
|
|
|
|
config_key = Column(String, primary_key=True, index=True)
|
|
config_value = Column(JSON, nullable=False)
|