tuxbot-bot/cogs/utils/models/lang.py
2019-12-16 18:12:10 +01:00

12 lines
273 B
Python

from . import Base
from sqlalchemy import Column, String
class Lang(Base):
__tablename__ = 'langs'
key = Column(String, primary_key=True)
value = Column(String)
def __repr__(self):
return "<Lang(key='%s', locale='%s')>" % (self.key, self.value)