From 5427fb7a96f0b185eac6cc57a9a8e5efd2aa1c0d Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Fri, 9 Jan 2026 11:29:52 +0100 Subject: [PATCH] fix: do not declare the id column type Signed-off-by: Julien Veyssier --- lib/Db/FaceCluster.php | 1 - lib/Db/FaceDetection.php | 1 - lib/Db/FsAccessUpdate.php | 1 - lib/Db/FsCreation.php | 1 - lib/Db/FsDeletion.php | 1 - lib/Db/FsMove.php | 1 - lib/Db/QueueFile.php | 2 -- 7 files changed, 8 deletions(-) diff --git a/lib/Db/FaceCluster.php b/lib/Db/FaceCluster.php index d14e98c5f..7f89afa06 100644 --- a/lib/Db/FaceCluster.php +++ b/lib/Db/FaceCluster.php @@ -34,7 +34,6 @@ final class FaceCluster extends Entity { public function __construct() { // add types in constructor - $this->addType('id', 'integer'); $this->addType('title', 'string'); $this->addType('userId', 'string'); } diff --git a/lib/Db/FaceDetection.php b/lib/Db/FaceDetection.php index fcd5e8336..3c7589a83 100644 --- a/lib/Db/FaceDetection.php +++ b/lib/Db/FaceDetection.php @@ -51,7 +51,6 @@ class FaceDetection extends Entity { public function __construct() { // add types in constructor - $this->addType('id', 'integer'); $this->addType('fileId', 'integer'); $this->addType('userId', 'string'); $this->addType('x', 'float'); diff --git a/lib/Db/FsAccessUpdate.php b/lib/Db/FsAccessUpdate.php index 8b6526f7b..3fe2cde77 100644 --- a/lib/Db/FsAccessUpdate.php +++ b/lib/Db/FsAccessUpdate.php @@ -36,7 +36,6 @@ final class FsAccessUpdate extends Entity { public function __construct() { // add types in constructor - $this->addType('id', 'integer'); $this->addType('storageId', 'integer'); $this->addType('rootId', 'integer'); } diff --git a/lib/Db/FsCreation.php b/lib/Db/FsCreation.php index 304e5a184..5e1d5c287 100644 --- a/lib/Db/FsCreation.php +++ b/lib/Db/FsCreation.php @@ -39,7 +39,6 @@ final class FsCreation extends Entity { public function __construct() { // add types in constructor - $this->addType('id', 'integer'); $this->addType('storageId', 'integer'); $this->addType('rootId', 'integer'); $this->addType('userId', 'string'); diff --git a/lib/Db/FsDeletion.php b/lib/Db/FsDeletion.php index dbd314772..74344f5e1 100644 --- a/lib/Db/FsDeletion.php +++ b/lib/Db/FsDeletion.php @@ -36,7 +36,6 @@ final class FsDeletion extends Entity { public function __construct() { // add types in constructor - $this->addType('id', 'integer'); $this->addType('storageId', 'integer'); $this->addType('nodeId', 'integer'); } diff --git a/lib/Db/FsMove.php b/lib/Db/FsMove.php index 3319add49..198994b24 100644 --- a/lib/Db/FsMove.php +++ b/lib/Db/FsMove.php @@ -38,7 +38,6 @@ final class FsMove extends Entity { public function __construct() { // add types in constructor - $this->addType('id', 'integer'); $this->addType('nodeId', 'integer'); $this->addType('owner', 'string'); $this->addType('addedUsers', 'string'); diff --git a/lib/Db/QueueFile.php b/lib/Db/QueueFile.php index a0cc6713c..f437c2f69 100644 --- a/lib/Db/QueueFile.php +++ b/lib/Db/QueueFile.php @@ -23,7 +23,6 @@ * @method bool getUpdate() */ final class QueueFile extends Entity { - public $id; protected $fileId; protected $storageId; protected $rootId; @@ -36,7 +35,6 @@ final class QueueFile extends Entity { public function __construct() { // add types in constructor - $this->addType('id', 'integer'); $this->addType('fileId', 'integer'); $this->addType('storageId', 'integer'); $this->addType('rootId', 'integer');