#42 Add tests to ArticleVoter

Refactor ArticleVoter
This commit is contained in:
flecomte committed 2020-03-16 03:47:22 +01:00
1 parent aa7ca26b51
commit ca78db4155
8 files changed
+271 -87

No files matched your search

@@ -14,7 +14,7 @@ begin
from (
select
z.*,
json_build_object('id', z.user_id) as "user"
find_user_by_id(z.user_id) as "user"
from citizen as z
where "search" is null or (
(name->'first_name')::text ilike '%'||"search"||'%' or