관리-도구
편집 파일: servers.py
# coding=utf-8 # # Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved # # Licensed under CLOUD LINUX LICENSE AGREEMENT # http://cloudlinux.com/docs/LICENSE.TXT from lvestats.orm.base import Base from lvestats.orm.const import LVE_STATS_2_TABLENAME_PREFIX, SERVER_ID_LENGTH from sqlalchemy import Column, String, Integer class servers(Base): __tablename__ = LVE_STATS_2_TABLENAME_PREFIX + 'servers' server_id = Column('server_id', String(SERVER_ID_LENGTH), primary_key=True, autoincrement=False) lve_version = Column('lve_version', Integer)