return postdto from post create

This commit is contained in:
john 2025-05-28 20:05:00 +02:00
parent 8ad4302ec8
commit d1687f276b
15 changed files with 226 additions and 111 deletions

View file

@ -6,4 +6,4 @@ CREATE TABLE authn.user_role
user_id uuid REFERENCES authn.user_identity(id),
role int,
primary key (user_id, role)
);
)

View file

@ -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)
);