D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
lvestats
/
orm
/
Filename :
servers.py
back
Copy
# 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)