Skip to content

Commit f314856

Browse files
authored
Merge pull request #2738 from scpwiki/json-column
Change recipients column to plain JSON
2 parents dfc6c81 + 6ea44f6 commit f314856

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deepwell/migrations/20220906103252_deepwell.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ CREATE TABLE message_draft (
691691
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(),
692692
updated_at TIMESTAMP WITH TIME ZONE,
693693
user_id BIGINT NOT NULL REFERENCES "user"(user_id),
694-
recipients JSONB NOT NULL,
694+
recipients JSON NOT NULL,
695695

696696
-- Text contents
697697
subject TEXT NOT NULL,

0 commit comments

Comments
 (0)