SQL functions find_comments_* now return VotesAggregates
create Votable Interface remove usless "resourceTarget" argument for SQL function "count_vote"
This commit is contained in:
@@ -18,9 +18,8 @@ class Article(
|
||||
EntityVersioning<UUID, Int> by UuidEntityVersioning(),
|
||||
EntityCreatedAt by EntityCreatedAtImp(),
|
||||
EntityCreatedBy<Citizen> by EntityCreatedByImp(createdBy),
|
||||
EntityDeletedAt by EntityDeletedAtImp() {
|
||||
|
||||
val votes = VoteAggregation(0,0,0)
|
||||
EntityDeletedAt by EntityDeletedAtImp(),
|
||||
Votable by VotableImp() {
|
||||
|
||||
init {
|
||||
tags = tags.distinct()
|
||||
|
||||
Reference in New Issue
Block a user