mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-29 23:22:52 +00:00
13 lines
634 B
SQL
13 lines
634 B
SQL
create table conversation_extra
|
|
(
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
channel_id VARCHAR(100) not null default '',
|
|
channel_type smallint not null default 0,
|
|
browse_to UNSIGNED BIG INT not null default 0,
|
|
keep_message_seq UNSIGNED BIG INT not null default 0,
|
|
keep_offset_y INTEGER not null default 0,
|
|
draft varchar(1000) not null default '',
|
|
version bigint NOT NULL default 0,
|
|
draft_updated_at UNSIGNED BIG INT not null default 0
|
|
);
|
|
CREATE UNIQUE INDEX IF NOT EXISTS idx_channel_conversation_extra ON conversation_extra (channel_id, channel_type); |