From 39e65ac1ecbdee18b848a9c11c1724d5eb4c1d79 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Fri, 17 May 2024 00:31:21 +0800 Subject: [PATCH] feat: add schema for person collects (#111) --- ...24\250\346\210\267\346\224\266\350\227\217.md" | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git "a/\347\224\250\346\210\267\346\224\266\350\227\217.md" "b/\347\224\250\346\210\267\346\224\266\350\227\217.md" index ccaff9b..d4a9a4c 100644 --- "a/\347\224\250\346\210\267\346\224\266\350\227\217.md" +++ "b/\347\224\250\346\210\267\346\224\266\350\227\217.md" @@ -59,3 +59,18 @@ type EpStatus = { } } ``` + +# 人物收藏 + +https://github.com/bangumi/dev-env/blob/master/sql/schema/chii_person_collects.sql + +```SQL +CREATE TABLE IF NOT EXISTS + `chii_person_collects` ( + `prsn_clt_id` MEDIUMINT(8) UNSIGNED NOT NULL, + `prsn_clt_cat` ENUM('prsn', 'crt') NOT NULL, + `prsn_clt_mid` MEDIUMINT(8) UNSIGNED NOT NULL, + `prsn_clt_uid` MEDIUMINT(8) UNSIGNED NOT NULL, + `prsn_clt_dateline` INT(10) UNSIGNED NOT NULL + ) ENGINE = MyISAM DEFAULT CHARSET = utf8 COMMENT = '人物收藏'; +```