16 lines
339 B
SQL
16 lines
339 B
SQL
|
|
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
|
|
);
|
|
|