Add option to configure notification level per board

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-10-12 16:05:02 +02:00
parent 297e060013
commit 9fcb0b78f2
7 changed files with 85 additions and 13 deletions

View File

@@ -37,6 +37,8 @@ class Board extends RelationalEntity {
protected $deletedAt = 0;
protected $lastModified = 0;
protected $settings = [];
public function __construct() {
$this->addType('id', 'integer');
$this->addType('shared', 'integer');
@@ -49,6 +51,7 @@ class Board extends RelationalEntity {
$this->addRelation('users');
$this->addRelation('permissions');
$this->addRelation('stacks');
$this->addRelation('settings');
$this->addResolvable('owner');
$this->shared = -1;
}