mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 21:32:40 +00:00
Add migration to add a nonce
column to channel_messages
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
02768b7f7b
commit
79fb3aa8af
1 changed files with 4 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
|||
ALTER TABLE "channel_messages"
|
||||
ADD "nonce" UUID NOT NULL DEFAULT gen_random_uuid();
|
||||
|
||||
CREATE UNIQUE INDEX "index_channel_messages_nonce" ON "channel_messages" ("nonce");
|
Loading…
Reference in a new issue