diff options
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version13000Date20170718121200.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php index 757697e7e90..4df2f4cbdab 100644 --- a/core/Migrations/Version13000Date20170718121200.php +++ b/core/Migrations/Version13000Date20170718121200.php @@ -94,11 +94,13 @@ class Version13000Date20170718121200 extends SimpleMigrationStep { 'notnull' => true, 'length' => 4, ]); - $table->addColumn('storage_id', 'integer', [ + $table->addColumn('storage_id', Type::BIGINT, [ 'notnull' => true, + 'length' => 20, ]); - $table->addColumn('root_id', 'integer', [ + $table->addColumn('root_id', Type::BIGINT, [ 'notnull' => true, + 'length' => 20, ]); $table->addColumn('user_id', 'string', [ 'notnull' => true, @@ -108,8 +110,9 @@ class Version13000Date20170718121200 extends SimpleMigrationStep { 'notnull' => true, 'length' => 4000, ]); - $table->addColumn('mount_id', 'integer', [ + $table->addColumn('mount_id', Type::BIGINT, [ 'notnull' => false, + 'length' => 20, ]); $table->setPrimaryKey(['id']); $table->addIndex(['user_id'], 'mounts_user_index'); |