From b4e9d51c6a935a93a4af712d7a5aa9acadb98e58 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Wed, 6 Feb 2019 08:27:48 -0100 Subject: [PATCH] missing object_id field Signed-off-by: Maxence Lange --- lib/Migration/Version0002Date20190121153145.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/Migration/Version0002Date20190121153145.php b/lib/Migration/Version0002Date20190121153145.php index 7958e793..c8fcf0a7 100644 --- a/lib/Migration/Version0002Date20190121153145.php +++ b/lib/Migration/Version0002Date20190121153145.php @@ -83,7 +83,12 @@ class Version0002Date20190121153145 extends SimpleMigrationStep { $table = $schema->getTable(CoreRequestBuilder::TABLE_SERVER_NOTES); if (!$table->hasColumn('activity_id')) { - $table->addColumn('activity_id', Type::STRING, ['notnull' => false, 'length' => 255]); + $table->addColumn('activity_id', Type::STRING, ['notnull' => false, 'length' => 2000]); + } + + $table = $schema->getTable(CoreRequestBuilder::TABLE_SERVER_NOTES); + if (!$table->hasColumn('object_id')) { + $table->addColumn('object_id', Type::STRING, ['notnull' => false, 'length' => 2000]); } if (!$schema->hasTable(CoreRequestBuilder::TABLE_QUEUE_STREAM)) {