diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-01-04 19:42:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 19:42:42 +0100 |
commit | 14fcc64c49f356e8b6acca93a643e52f8ba57ad4 (patch) | |
tree | e85cc0a64172d07d1481ee16900f165738ffb2a2 | |
parent | f736b3445f3cc6f486604da60ce86063daf7918a (diff) | |
parent | f15df262c9a130cb0e29a035ff7702e9e656784c (diff) | |
download | nextcloud-server-14fcc64c49f356e8b6acca93a643e52f8ba57ad4.tar.gz nextcloud-server-14fcc64c49f356e8b6acca93a643e52f8ba57ad4.zip |
Merge pull request #13358 from nextcloud/bugfix/12927-bigint-mtime-storagetime
Install new instances with bigint filecache
-rw-r--r-- | core/Migrations/Version13000Date20170718121200.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index 0b2c255738c..c1989ff606e 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -176,14 +176,14 @@ class Version13000Date20170718121200 extends SimpleMigrationStep { 'length' => 8, 'default' => 0, ]); - $table->addColumn('mtime', 'integer', [ + $table->addColumn('mtime', Type::BIGINT, [ 'notnull' => true, - 'length' => 4, + 'length' => 20, 'default' => 0, ]); - $table->addColumn('storage_mtime', 'integer', [ + $table->addColumn('storage_mtime', Type::BIGINT, [ 'notnull' => true, - 'length' => 4, + 'length' => 20, 'default' => 0, ]); $table->addColumn('encrypted', 'integer', [ |