不使用本地库,使用mariadb完成存储

This commit is contained in:
liuwei
2025-02-08 10:38:12 +08:00
parent de5368d902
commit 9ceaea00dd
2 changed files with 14 additions and 8 deletions

View File

@@ -1,9 +1,15 @@
CREATE TABLE IF NOT EXISTS speech_counts
( USE message_archive;
group_id TEXT, -- auto-generated definition
wx_id TEXT, create table speech_counts
date TEXT, (
count INTEGER, id int auto_increment
PRIMARY KEY (group_id, wx_id, date) primary key,
) group_id text null,
wx_id text null,
date text null,
count int null,
constraint speech_counts_group_id_wx_id_date_uindex
unique (group_id, wx_id, date) using hash
);

Binary file not shown.