return postdto from post create
This commit is contained in:
parent
8ad4302ec8
commit
d1687f276b
15 changed files with 226 additions and 111 deletions
|
@ -6,4 +6,4 @@ CREATE TABLE authn.user_role
|
|||
user_id uuid REFERENCES authn.user_identity(id),
|
||||
role int,
|
||||
primary key (user_id, role)
|
||||
);
|
||||
)
|
|
@ -8,5 +8,6 @@ CREATE TABLE blog.post_reaction
|
|||
(
|
||||
post_id uuid REFERENCES blog.post(id),
|
||||
author_id uuid REFERENCES blog.author(id),
|
||||
emoji text not null
|
||||
emoji text not null,
|
||||
primary key (post_id, author_id, emoji)
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue