add migration for dynamic fields

This commit is contained in:
Luna 2020-06-12 16:45:32 -03:00
parent 918a20f274
commit f80bf14c23
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
CREATE TABLE IF NOT EXISTS messages_extra (
id bigint REFERENCES messages,
user_mention_ids bigint[] default null,
role_mention_ids bigint[] default null
);