| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function up(Schema $schema) |
||
| 24 | { |
||
| 25 | $platform = $this->connection->getDatabasePlatform()->getName(); |
||
| 26 | |||
| 27 | switch ($platform) { |
||
| 28 | case 'postgresql': |
||
| 29 | // Schema |
||
| 30 | $this->addSql('ALTER TABLE ds_tenant DROP data'); |
||
| 31 | break; |
||
| 32 | |||
| 33 | default: |
||
| 34 | $this->abortIf(true,'Migration cannot be executed on "'.$platform.'".'); |
||
| 35 | break; |
||
| 36 | } |
||
| 65 |