| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class Version20181110175521 extends AbstractMigration |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @throws SchemaException |
||
| 16 | */ |
||
| 17 | public function up(Schema $schema): void |
||
| 18 | { |
||
| 19 | $this->getUserAgentColumn($schema)->setLength(512); |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @throws SchemaException |
||
| 24 | */ |
||
| 25 | public function down(Schema $schema): void |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @throws SchemaException |
||
| 32 | */ |
||
| 33 | private function getUserAgentColumn(Schema $schema): Column |
||
| 36 | } |
||
| 37 | } |
||
| 38 |