missing object_id field

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/374/head
Maxence Lange 2019-02-06 08:27:48 -01:00
rodzic 7ca54da181
commit b4e9d51c6a
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -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)) {