不使用本地库,使用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
(
group_id TEXT,
wx_id TEXT,
date TEXT,
count INTEGER,
PRIMARY KEY (group_id, wx_id, date)
)
USE message_archive;
-- auto-generated definition
create table speech_counts
(
id int auto_increment
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.