aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-10-18 19:05:08 +0200
committerGitHub <noreply@github.com>2024-10-18 19:05:08 +0200
commit2ef74b986058928fd59af0c839b463d101d35146 (patch)
tree259e786dd3e7c24685b83fe65979210ca4dfc5fa /core
parent7e99fd31eaef82abbed6d53de27de75752faf67a (diff)
parent0e54c2bd43853891deac92f4ef9842c40ca64feb (diff)
downloadnextcloud-server-2ef74b986058928fd59af0c839b463d101d35146.tar.gz
nextcloud-server-2ef74b986058928fd59af0c839b463d101d35146.zip
Merge pull request #47329 from nextcloud/feat/add-datetime-qbmapper-support
feat(AppFramework): Add full support for date / time / datetime columns
Diffstat (limited to 'core')
-rw-r--r--core/Db/LoginFlowV2.php5
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');