Ejemplo n.º 1
0
class User(BaseModel):
    uid = IntegerField(primary_key=True)
    name = CharField()
    password = CharField()

    class Meta:
        db_table = "users"
Ejemplo n.º 2
0
class GameUser(BaseModel):
    uid = IntegerField(primary_key=True)
    nick = CharField()
    dinero = IntegerField()
    congelado = IntegerField()
    nivel = IntegerField()
    deuda = IntegerField()
    extrainf = CharField()
Ejemplo n.º 3
0
class tquote(BaseModel):
    qid = IntegerField(primary_key=True)
    quote = CharField()
    channel = CharField()
    ts = CharField()
    nick = CharField()

    class Meta:
        db_table = "quotes"
Ejemplo n.º 4
0
class UserPriv(BaseModel):
    tid = IntegerField(primary_key=True)
    uid = IntegerField()
    priv = IntegerField()
    secmod = CharField()
    secchan = CharField()

    class Meta:
        db_table = "userprivs"
Ejemplo n.º 5
0
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()
Ejemplo n.º 6
0
class AntiFloodChan(BaseModel):
    cid = IntegerField(primary_key=True)
    chan = CharField()
    ratesec = IntegerField()
    ratemsg = IntegerField()
Ejemplo n.º 7
0
class RPGChannel(BaseModel):
    cid = IntegerField(primary_key=True)
    channel = CharField()
Ejemplo n.º 8
0
class NSAccount(BaseModel):
    uid = IntegerField()
    acc = CharField()
Ejemplo n.º 9
0
class regexKick(BaseModel):
    rid = IntegerField(primary_key=True)
    channel = CharField()
    regex = CharField()
Ejemplo n.º 10
0
class linkChan(BaseModel):
    rid = IntegerField(primary_key=True)
    chan = CharField()
Ejemplo n.º 11
0
class GameBank(BaseModel):
    bid = IntegerField(primary_key=True)
    dinero = IntegerField()
    pozo = IntegerField()
    extrainf = CharField()
Ejemplo n.º 12
0
class autodeopt(BaseModel):
    channel = CharField(primary_key=True)

    class Meta:
        db_table = "autodeop"
Ejemplo n.º 13
0
class Karma(BaseModel):
    nick = CharField()
    chan = CharField()
    karma = IntegerField()