Make 'unique' an integer
Solves #176 #189 Signed-off-by: Jonas Rittershofer <github@hofritter.de>
This commit is contained in:
parent
b6f9be5c40
commit
ce58cfc472
1 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ use OCP\AppFramework\Db\Entity;
|
|||
* @method integer getIsAnonymous()
|
||||
* @method void setIsAnonymous(integer $value)
|
||||
* @method integer getUnique()
|
||||
* @method void setUnique(boolean $value)
|
||||
* @method void setUnique(integer $value)
|
||||
*/
|
||||
class Event extends Entity {
|
||||
protected $title;
|
||||
|
|
@ -66,6 +66,7 @@ class Event extends Entity {
|
|||
*/
|
||||
public function __construct() {
|
||||
$this->addType('isAnonymous', 'integer');
|
||||
$this->addType('unique', 'integer');
|
||||
}
|
||||
|
||||
public function read() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue