Add backend support for comments

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-10-04 17:29:28 +02:00
parent 10c09927e2
commit d3027acd37
6 changed files with 68 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ class Card extends RelationalEntity {
protected $duedate;
protected $notified = false;
protected $deletedAt = 0;
protected $commentsUnread = 0;
private $databaseType = 'sqlite';
@@ -65,6 +66,7 @@ class Card extends RelationalEntity {
$this->addRelation('attachments');
$this->addRelation('attachmentCount');
$this->addRelation('participants');
$this->addRelation('commentsUnread');
$this->addResolvable('owner');
}