txlyre 1 年之前
父节点
当前提交
6bf5398eb5
共有 1 个文件被更改,包括 2 次插入7 次删除
  1. 2 7
      models.py

+ 2 - 7
models.py

@@ -22,17 +22,12 @@ class StickerPack(Model):
 
 class Admin(Model):
   id = IntField(pk=True)
-  user_id = IntField(unique=True)
+  user_id = BigIntField(unique=True)
 
 class BirthDay(Model):
   id = IntField(pk=True)
   peer_id = BigIntField()
-  user_id = IntField()
-  date = DateField()
-
-class BirtDayNotify(Model):
-  id = IntField(pk=True)
-  user_id = IntField()
+  user_id = BigIntField()
   date = DateField()
 
 class VPNServer(Model):