diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-02-06 08:27:48 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-02-06 08:27:48 -0100 |
commit | b4e9d51c6a935a93a4af712d7a5aa9acadb98e58 (patch) | |
tree | 30a7531b1cf03c1e7f6c91b971f83dc399f4b09a /lib/Migration | |
parent | 7ca54da181c98855680a7f4799988155c1456e7b (diff) |
missing object_id field
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r-- | lib/Migration/Version0002Date20190121153145.php | 7 |
1 files changed, 6 insertions, 1 deletions
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)) { |