diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-19 15:46:20 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-17 18:31:44 +0200 |
commit | 0e54c2bd43853891deac92f4ef9842c40ca64feb (patch) | |
tree | d27fe3a2bb368dc80c3f21709f5d15ed9ac03280 /core | |
parent | db94e10af0928f35b74c22f9370df1cb3ea1160f (diff) | |
download | nextcloud-server-0e54c2bd43853891deac92f4ef9842c40ca64feb.tar.gz nextcloud-server-0e54c2bd43853891deac92f4ef9842c40ca64feb.zip |
fix: Adjust Entity typesfeat/add-datetime-qbmapper-support
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/Db/LoginFlowV2.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Db/LoginFlowV2.php b/core/Db/LoginFlowV2.php index 90b6f41a626..1671e5990e0 100644 --- a/core/Db/LoginFlowV2.php +++ b/core/Db/LoginFlowV2.php @@ -9,6 +9,7 @@ declare(strict_types=1); namespace OC\Core\Db; use OCP\AppFramework\Db\Entity; +use OCP\DB\Types; /** * @method int getTimestamp() @@ -55,8 +56,8 @@ class LoginFlowV2 extends Entity { protected $appPassword; public function __construct() { - $this->addType('timestamp', 'int'); - $this->addType('started', 'int'); + $this->addType('timestamp', Types::INTEGER); + $this->addType('started', Types::INTEGER); $this->addType('pollToken', 'string'); $this->addType('loginToken', 'string'); $this->addType('publicKey', 'string'); |