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

This commit is contained in:
liuwei
2025-02-08 10:38:12 +08:00
parent de5368d902
commit 9ceaea00dd
2 changed files with 13 additions and 7 deletions
+13 -7
View File
@@ -1,9 +1,15 @@
CREATE TABLE IF NOT EXISTS speech_counts
USE message_archive;
-- auto-generated definition
create table speech_counts
( (
group_id TEXT, id int auto_increment
wx_id TEXT, primary key,
date TEXT, group_id text null,
count INTEGER, wx_id text null,
PRIMARY KEY (group_id, wx_id, date) date text null,
) count int null,
constraint speech_counts_group_id_wx_id_date_uindex
unique (group_id, wx_id, date) using hash
);
BIN
View File
Binary file not shown.