fefdwef
This commit is contained in:
18
models/bitgit.py
Normal file
18
models/bitgit.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from peewee import *
|
||||
from models import db, BaseModel
|
||||
|
||||
|
||||
class Bitgit(BaseModel):
|
||||
id = AutoField(primary_key=True)
|
||||
email = CharField(max_length=255, null=True)
|
||||
password = CharField(max_length=255, null=True) # 注意:这里应该是 `password` 而不是 `pasword`
|
||||
two_fa = CharField(max_length=255, null=True)
|
||||
apikey = CharField(max_length=255, null=True)
|
||||
SecretKey = CharField(max_length=255, null=True)
|
||||
bit_id = CharField(max_length=255, null=True)
|
||||
ip_id = IntegerField(null=True)
|
||||
start = IntegerField(null=True)
|
||||
|
||||
class Meta:
|
||||
database = db
|
||||
table_name = 'bitgit'
|
||||
Reference in New Issue
Block a user