class User(BaseModel): uid = IntegerField(primary_key=True) name = CharField() password = CharField() class Meta: db_table = "users"
class GameUser(BaseModel): uid = IntegerField(primary_key=True) nick = CharField() dinero = IntegerField() congelado = IntegerField() nivel = IntegerField() deuda = IntegerField() extrainf = CharField()
class tquote(BaseModel): qid = IntegerField(primary_key=True) quote = CharField() channel = CharField() ts = CharField() nick = CharField() class Meta: db_table = "quotes"
class UserPriv(BaseModel): tid = IntegerField(primary_key=True) uid = IntegerField() priv = IntegerField() secmod = CharField() secchan = CharField() class Meta: db_table = "userprivs"
class RPGUser(BaseModel): uid = IntegerField(primary_key=True) nick = CharField() empirename = CharField() superficie = IntegerField() congelado = IntegerField() # ;D habitantes = IntegerField() tropas = IntegerField() tropas_nivel = IntegerField() deuda = IntegerField() oro = IntegerField() alimento = IntegerField() madera = IntegerField() piedra = IntegerField() flota = IntegerField() extrainf = CharField()
class AntiFloodChan(BaseModel): cid = IntegerField(primary_key=True) chan = CharField() ratesec = IntegerField() ratemsg = IntegerField()
class RPGChannel(BaseModel): cid = IntegerField(primary_key=True) channel = CharField()
class NSAccount(BaseModel): uid = IntegerField() acc = CharField()
class regexKick(BaseModel): rid = IntegerField(primary_key=True) channel = CharField() regex = CharField()
class linkChan(BaseModel): rid = IntegerField(primary_key=True) chan = CharField()
class GameBank(BaseModel): bid = IntegerField(primary_key=True) dinero = IntegerField() pozo = IntegerField() extrainf = CharField()
class autodeopt(BaseModel): channel = CharField(primary_key=True) class Meta: db_table = "autodeop"
class Karma(BaseModel): nick = CharField() chan = CharField() karma = IntegerField()