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 /lib/private/Updater/Changes.php | |
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 'lib/private/Updater/Changes.php')
-rw-r--r-- | lib/private/Updater/Changes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Updater/Changes.php b/lib/private/Updater/Changes.php index bdf799a0100..c941dfb3fa5 100644 --- a/lib/private/Updater/Changes.php +++ b/lib/private/Updater/Changes.php @@ -9,6 +9,7 @@ declare(strict_types=1); namespace OC\Updater; use OCP\AppFramework\Db\Entity; +use OCP\DB\Types; /** * Class Changes @@ -39,7 +40,7 @@ class Changes extends Entity { public function __construct() { $this->addType('version', 'string'); $this->addType('etag', 'string'); - $this->addType('lastCheck', 'int'); + $this->addType('lastCheck', Types::INTEGER); $this->addType('data', 'string'); } } |