Beispiel #1
0
class User(BaseModel):
    uid = IntegerField(primary_key=True)
    name = CharField()
    password = CharField()

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

    class Meta:
        db_table = "quotes"
Beispiel #4
0
class UserPriv(BaseModel):
    tid = IntegerField(primary_key=True)
    uid = IntegerField()
    priv = IntegerField()
    secmod = CharField()
    secchan = CharField()

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

    class Meta:
        db_table = "autodeop"
Beispiel #13
0
class Karma(BaseModel):
    nick = CharField()
    chan = CharField()
    karma = IntegerField()