feature #7: add find_comment_by_id query

This commit is contained in:
2019-08-27 12:53:34 +02:00
parent ff76bd55ef
commit b2230f2fed
2 changed files with 5 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ begin
insert into "user" (id, username, password, blocked_at, roles)
select
uuid_in(md5('user'||rn::text)::cstring),
'username' || rn,
'username-' || rn,
_password,
case when rn % 10 = 0 then now() else null end,
case when rn % 2 = 0 then '{ROLE_USER}'::text[] else '{ROLE_ADMIN}'::text[] end