AlkantarClanX12

Your IP : 3.145.63.131


Current Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/orm/
Upload File :
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/orm/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)