feature #6: implement PostgresJson
add Article, Citien and User Entities implement Article.findById()
This commit is contained in:
@@ -7,3 +7,15 @@ ktor {
|
||||
modules = [ fr.dcproject.ApplicationKt.module ]
|
||||
}
|
||||
}
|
||||
|
||||
app {
|
||||
envName = prod
|
||||
}
|
||||
|
||||
db {
|
||||
host = localhost
|
||||
database = dc-project
|
||||
username = dc-project
|
||||
password = dc-project
|
||||
port = 5432
|
||||
}
|
||||
|
||||
@@ -15,4 +15,6 @@ begin
|
||||
end;
|
||||
$$;
|
||||
|
||||
-- drop function if exists find_article_by_id(uuid, out json);
|
||||
-- drop function if exists find_article_by_id(uuid, out json);
|
||||
|
||||
select find_article_by_id('12fed2f3-2a7d-434b-87e6-5a9895f9d12d')
|
||||
Reference in New Issue
Block a user