From b1a78c026ec409bea48d767b65b5b7e4e182d904 Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Tue, 14 Jun 2022 21:12:20 +0800 Subject: =?UTF-8?q?=F0=9F=9A=9A=F0=9F=92=A9=20=E6=9B=B4=E6=94=B9=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E4=BD=8D=E7=BD=AE=20&=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/bilibili_dynamic/database/models.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 ATRI/plugins/bilibili_dynamic/database/models.py (limited to 'ATRI/plugins/bilibili_dynamic/database/models.py') diff --git a/ATRI/plugins/bilibili_dynamic/database/models.py b/ATRI/plugins/bilibili_dynamic/database/models.py deleted file mode 100644 index d0cb3dd..0000000 --- a/ATRI/plugins/bilibili_dynamic/database/models.py +++ /dev/null @@ -1,14 +0,0 @@ -from datetime import datetime - -from tortoise import fields -from tortoise.models import Model - - -class Subscription(Model): - uid = fields.IntField() - group_id = fields.IntField() - up_nickname = fields.TextField(null=True) - last_update = fields.DatetimeField(default=datetime.fromordinal(1)) - - def __str__(self) -> str: - return f"[{self.uid}|{self.group_id}|{self.up_nickname}|{self.last_update}]" -- cgit v1.2.3