Skip to content

Commit 973ef18

Browse files
authored
Merge pull request #1436 from nextcloud/fix/noid/id-column-type
Do not declare the id column type
2 parents 9d9c359 + 5427fb7 commit 973ef18

7 files changed

Lines changed: 0 additions & 8 deletions

File tree

lib/Db/FaceCluster.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ final class FaceCluster extends Entity {
3434

3535
public function __construct() {
3636
// add types in constructor
37-
$this->addType('id', 'integer');
3837
$this->addType('title', 'string');
3938
$this->addType('userId', 'string');
4039
}

lib/Db/FaceDetection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class FaceDetection extends Entity {
5151

5252
public function __construct() {
5353
// add types in constructor
54-
$this->addType('id', 'integer');
5554
$this->addType('fileId', 'integer');
5655
$this->addType('userId', 'string');
5756
$this->addType('x', 'float');

lib/Db/FsAccessUpdate.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ final class FsAccessUpdate extends Entity {
3636

3737
public function __construct() {
3838
// add types in constructor
39-
$this->addType('id', 'integer');
4039
$this->addType('storageId', 'integer');
4140
$this->addType('rootId', 'integer');
4241
}

lib/Db/FsCreation.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ final class FsCreation extends Entity {
3939

4040
public function __construct() {
4141
// add types in constructor
42-
$this->addType('id', 'integer');
4342
$this->addType('storageId', 'integer');
4443
$this->addType('rootId', 'integer');
4544
$this->addType('userId', 'string');

lib/Db/FsDeletion.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ final class FsDeletion extends Entity {
3636

3737
public function __construct() {
3838
// add types in constructor
39-
$this->addType('id', 'integer');
4039
$this->addType('storageId', 'integer');
4140
$this->addType('nodeId', 'integer');
4241
}

lib/Db/FsMove.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ final class FsMove extends Entity {
3838

3939
public function __construct() {
4040
// add types in constructor
41-
$this->addType('id', 'integer');
4241
$this->addType('nodeId', 'integer');
4342
$this->addType('owner', 'string');
4443
$this->addType('addedUsers', 'string');

lib/Db/QueueFile.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
* @method bool getUpdate()
2424
*/
2525
final class QueueFile extends Entity {
26-
public $id;
2726
protected $fileId;
2827
protected $storageId;
2928
protected $rootId;
@@ -36,7 +35,6 @@ final class QueueFile extends Entity {
3635

3736
public function __construct() {
3837
// add types in constructor
39-
$this->addType('id', 'integer');
4038
$this->addType('fileId', 'integer');
4139
$this->addType('storageId', 'integer');
4240
$this->addType('rootId', 'integer');

0 commit comments

Comments
 (0)