| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | public function down(Schema $schema): void |
||
| 36 | { |
||
| 37 | $shortUrls = $schema->getTable('short_urls'); |
||
| 38 | $this->skipIf(! $shortUrls->hasColumn(self::IMPORT_SOURCE_COLUMN)); |
||
| 39 | |||
| 40 | $shortUrls->dropColumn(self::IMPORT_SOURCE_COLUMN); |
||
| 41 | $shortUrls->dropColumn('import_original_short_code'); |
||
| 42 | $shortUrls->dropIndex('unique_imports'); |
||
| 43 | } |
||
| 45 |