Skip to content

Commit

Permalink
BAP-13919: Not accessible all girds with workflows
Browse files Browse the repository at this point in the history
- removed migration
  • Loading branch information
vtsykun committed Feb 28, 2017
1 parent 7a26a99 commit b275ffd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 26 deletions.
3 changes: 1 addition & 2 deletions src/Oro/Bundle/WorkflowBundle/Entity/WorkflowItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
* @ORM\UniqueConstraint(name="oro_workflow_item_entity_definition_unq",columns={"entity_id", "workflow_name"})
* },
* indexes={
* @ORM\Index(name="oro_workflow_item_workflow_name_idx", columns={"workflow_name"}),
* @ORM\Index(name="oro_workflow_item_entity_idx", columns={"entity_class", "entity_id"})
* @ORM\Index(name="oro_workflow_item_workflow_name_idx", columns={"workflow_name"})
* }
* )
* @ORM\Entity(repositoryClass="Oro\Bundle\WorkflowBundle\Entity\Repository\WorkflowItemRepository")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class OroWorkflowBundleInstaller implements Installation
*/
public function getMigrationVersion()
{
return 'v2_1_1';
return 'v2_1';
}

/**
Expand Down Expand Up @@ -71,7 +71,6 @@ protected function createOroWorkflowItemTable(Schema $schema)
$table->addColumn('updated', 'datetime', ['notnull' => false]);
$table->addColumn('data', 'text', ['notnull' => false]);
$table->addIndex(['workflow_name'], 'idx_169789ae1bbc6e3d', []);
$table->addIndex(['entity_class', 'entity_id'], 'oro_workflow_item_entity_idx', []);
$table->setPrimaryKey(['id']);
$table->addIndex(['current_step_id'], 'idx_169789aed9bf9b19', []);
$table->addUniqueIndex(['entity_id', 'workflow_name'], 'oro_workflow_item_entity_definition_unq');
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ public function buildBeforeAddColumnDataProvider()
'join' => [
'inner' => [['join' => self::ALIAS . '.b', 'alias' => 'b']],
'left' => [
['join' => self::ALIAS . '.c', 'alias' => 'c']
['join' => self::ALIAS . '.c', 'alias' => 'c'],
]
],
],
Expand Down Expand Up @@ -451,7 +451,7 @@ public function buildBeforeAddColumnDataProvider()
'columns' => [
'rootField' => ['data_name' => self::ALIAS . '.rootField'],
'innerJoinField' => ['data_name' => 'b.innerJoinField'],
'leftJoinField' => ['data_name' => 'c.leftJoinField']
'leftJoinField' => ['data_name' => 'c.leftJoinField'],
],
],
],
Expand Down

0 comments on commit b275ffd

Please sign in to comment.