src/Label/ReadModels/JSON/Repository/Doctrine/SchemaConfigurator.php 1 location
|
@@ 36-45 (lines=10) @@
|
| 33 |
|
/** |
| 34 |
|
* @inheritdoc |
| 35 |
|
*/ |
| 36 |
|
public function configure(AbstractSchemaManager $schemaManager) |
| 37 |
|
{ |
| 38 |
|
$schema = $schemaManager->createSchema(); |
| 39 |
|
|
| 40 |
|
if (!$schema->hasTable($this->tableName->toNative())) { |
| 41 |
|
$table = $this->createTable($schema, $this->tableName); |
| 42 |
|
|
| 43 |
|
$schemaManager->createTable($table); |
| 44 |
|
} |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
/** |
| 48 |
|
* @param Schema $schema |
src/Label/ReadModels/Relations/Repository/Doctrine/SchemaConfigurator.php 1 location
|
@@ 35-44 (lines=10) @@
|
| 32 |
|
/** |
| 33 |
|
* @param AbstractSchemaManager $schemaManager |
| 34 |
|
*/ |
| 35 |
|
public function configure(AbstractSchemaManager $schemaManager) |
| 36 |
|
{ |
| 37 |
|
$schema = $schemaManager->createSchema(); |
| 38 |
|
|
| 39 |
|
if (!$schema->hasTable($this->tableName->toNative())) { |
| 40 |
|
$table = $this->createTable($schema, $this->tableName); |
| 41 |
|
|
| 42 |
|
$schemaManager->createTable($table); |
| 43 |
|
} |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
/** |
| 47 |
|
* @param Schema $schema |
src/Role/ReadModel/Search/Doctrine/SchemaConfigurator.php 1 location
|
@@ 34-43 (lines=10) @@
|
| 31 |
|
/** |
| 32 |
|
* @param AbstractSchemaManager $schemaManager |
| 33 |
|
*/ |
| 34 |
|
public function configure(AbstractSchemaManager $schemaManager) |
| 35 |
|
{ |
| 36 |
|
$schema = $schemaManager->createSchema(); |
| 37 |
|
|
| 38 |
|
if (!$schema->hasTable($this->tableName->toNative())) { |
| 39 |
|
$table = $this->createTable($schema, $this->tableName); |
| 40 |
|
|
| 41 |
|
$schemaManager->createTable($table); |
| 42 |
|
} |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
/** |
| 46 |
|
* @param Schema $schema |
src/SavedSearches/Doctrine/SchemaConfigurator.php 1 location
|
@@ 36-45 (lines=10) @@
|
| 33 |
|
/** |
| 34 |
|
* @inheritdoc |
| 35 |
|
*/ |
| 36 |
|
public function configure(AbstractSchemaManager $schemaManager) |
| 37 |
|
{ |
| 38 |
|
$schema = $schemaManager->createSchema(); |
| 39 |
|
|
| 40 |
|
if (!$schema->hasTable($this->tableName->toNative())) { |
| 41 |
|
$table = $this->createTable($schema, $this->tableName); |
| 42 |
|
|
| 43 |
|
$schemaManager->createTable($table); |
| 44 |
|
} |
| 45 |
|
} |
| 46 |
|
|
| 47 |
|
/** |
| 48 |
|
* @param Schema $schema |