mirror of https://gitlab.com/litecord/litecord.git
add 1_webhook_avatars migration
This commit is contained in:
parent
1061eda096
commit
0ab3f2bfa4
|
|
@ -0,0 +1,13 @@
|
|||
-- webhook_avatars table. check issue 46.
|
||||
CREATE TABLE IF NOT EXISTS webhook_avatars (
|
||||
webhook_id bigint,
|
||||
|
||||
-- this is e.g a sha256 hash of EmbedURL.to_md_url
|
||||
hash text,
|
||||
|
||||
-- we don't hardcode the mediaproxy url here for obvious reasons.
|
||||
-- the output of EmbedURL.to_md_url goes here.
|
||||
md_url_redir text,
|
||||
|
||||
PRIMARY KEY (webhook_id, hash)
|
||||
);
|
||||
Loading…
Reference in New Issue