Skip to content

Commit 3e02e16

Browse files
committed
chore: do not re-declare the id column
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent f142cc2 commit 3e02e16

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

lib/Db/FsEvent.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
* @method setNodeId(int $nodeId)
2424
*/
2525
class FsEvent extends Entity {
26-
public $id;
2726
protected $type;
2827
protected $userId;
2928
protected $nodeId;

lib/Db/QueueAction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
* @method setPayload(string $payload)
2222
*/
2323
class QueueAction extends Entity {
24-
public $id;
2524
protected $type;
2625
protected $payload;
2726

@@ -32,7 +31,6 @@ class QueueAction extends Entity {
3231

3332
public function __construct() {
3433
// add types in constructor
35-
$this->addType('id', 'integer');
3634
$this->addType('type', 'string');
3735
$this->addType('payload', 'string');
3836
}

lib/Db/QueueContentItem.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
* @method string getUsers()
3535
*/
3636
class QueueContentItem extends Entity {
37-
public $id;
3837
protected $itemId;
3938
protected $appId;
4039
protected $providerId;
@@ -69,7 +68,6 @@ class QueueContentItem extends Entity {
6968

7069
public function __construct() {
7170
// add types in constructor
72-
$this->addType('id', Types::INTEGER);
7371
$this->addType('itemId', Types::STRING);
7472
$this->addType('appId', Types::STRING);
7573
$this->addType('providerId', Types::STRING);

lib/Db/QueueFile.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
* @method bool getUpdate()
2727
*/
2828
class QueueFile extends Entity {
29-
public $id;
3029
protected $fileId;
3130
protected $storageId;
3231
protected $rootId;
@@ -39,7 +38,6 @@ class QueueFile extends Entity {
3938

4039
public function __construct() {
4140
// add types in constructor
42-
$this->addType('id', 'integer');
4341
$this->addType('fileId', 'integer');
4442
$this->addType('storageId', 'integer');
4543
$this->addType('rootId', 'integer');

0 commit comments

Comments
 (0)