Skip to content

Commit 47af0e2

Browse files
authored
Added custom index for job status (#77)
* Added custom index for job status
1 parent 6d86ba1 commit 47af0e2

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
# Version 5.2.0
2+
* Added custom index for job status
3+
4+
# Version 5.1.0
5+
* Refactor SchemaDump command
6+
7+
# Version 5.0.1
8+
* Fix compatibility with doctrine 4
9+
10+
# Version 5.0.0
11+
* Initiate Kudos on dataflow-bundle
12+
* Added Symfony 7 support
13+
* Removed Symfony 6 compatibility
14+
* Removed Symfony 5 compatibility
15+
* Removed Symfony 4 compatibility
16+
* Removed Symfony 3 compatibility
17+
* Changed README.md
18+
* Added CI
19+
20+
# Version 4.1.3
21+
* Fix log exception argument typing
22+
23+
# Version 4.1.2
24+
* Fix DBAL 2.12 compatibility break
25+
126
# Version 4.1.0
227

328
* Added custom index for exception log

src/SchemaProvider/DataflowSchemaProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public function createSchema()
4848
$tableSchedule->addColumn('enabled', 'boolean', ['notnull' => true]);
4949

5050
$tableJob->addForeignKeyConstraint($tableSchedule->getName(), ['scheduled_dataflow_id'], ['id']);
51+
$tableJob->addIndex(['status'], 'idx_status');
5152

5253
return $schema;
5354
}

0 commit comments

Comments
 (0)