mirror of
https://github.com/zed-industries/zed.git
synced 2024-10-27 16:57:08 +00:00
8 lines
317 B
MySQL
8 lines
317 B
MySQL
|
CREATE TABLE "channel_message_mentions" (
|
||
|
"message_id" INTEGER NOT NULL REFERENCES channel_messages (id) ON DELETE CASCADE,
|
||
|
"start_offset" INTEGER NOT NULL,
|
||
|
"end_offset" INTEGER NOT NULL,
|
||
|
"user_id" INTEGER NOT NULL REFERENCES users (id) ON DELETE CASCADE,
|
||
|
PRIMARY KEY(message_id, start_offset)
|
||
|
);
|