| Conditions | 1 |
| Paths | 1 |
| Total Lines | 42 |
| Code Lines | 31 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function configure(AbstractSchemaManager $schemaManager) |
||
| 31 | { |
||
| 32 | $schema = $schemaManager->createSchema(); |
||
| 33 | $table = $schema->createTable($this->tableName->toNative()); |
||
| 34 | |||
| 35 | $table->addColumn( |
||
| 36 | 'entity_id', |
||
| 37 | 'guid', |
||
| 38 | array('length' => 36, 'notnull' => true) |
||
| 39 | ); |
||
| 40 | $table->addColumn( |
||
| 41 | 'entity_type', |
||
| 42 | 'string', |
||
| 43 | array('length' => 36, 'notnull' => true) |
||
| 44 | ); |
||
| 45 | $table->addColumn( |
||
| 46 | 'uid', |
||
| 47 | 'guid', |
||
| 48 | array('length' => 36, 'notnull' => true) |
||
| 49 | ); |
||
| 50 | $table->addColumn( |
||
| 51 | 'created', |
||
| 52 | 'text', |
||
| 53 | array('length' => 36, 'notnull' => true) |
||
| 54 | ); |
||
| 55 | $table->addColumn( |
||
| 56 | 'updated', |
||
| 57 | 'text', |
||
| 58 | array('length' => 36, 'notnull' => true) |
||
| 59 | ); |
||
| 60 | $table->addColumn( |
||
| 61 | 'owning_domain', |
||
| 62 | 'text', |
||
| 63 | array('length' => 36, 'notnull' => true) |
||
| 64 | ); |
||
| 65 | $table->addColumn( |
||
| 66 | 'entity_iri', |
||
| 67 | 'text' |
||
| 68 | ); |
||
| 69 | |||
| 70 | $schemaManager->createTable($table); |
||
| 71 | } |
||
| 72 | } |
||
| 73 |