Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function up(Schema $schema): void |
||
19 | { |
||
20 | if ($schema->hasTable('agenda_event_invitation')) { |
||
21 | |||
22 | $this->addSql('ALTER TABLE personal_agenda DROP FOREIGN KEY FK_D8612460AF68C6B'); |
||
23 | $this->addSql("DROP INDEX UNIQ_D8612460AF68C6B ON personal_agenda"); |
||
24 | |||
25 | $this->addSql("ALTER TABLE personal_agenda DROP agenda_event_invitation_id, DROP collective, DROP subscription_visibility, DROP subscription_item_id"); |
||
26 | |||
27 | $this->addSql("ALTER TABLE agenda_event_invitation DROP FOREIGN KEY FK_52A2D5E161220EA6"); |
||
28 | $this->addSql("DROP TABLE agenda_event_invitation"); |
||
29 | |||
30 | $this->addSql("ALTER TABLE agenda_event_invitee DROP FOREIGN KEY FK_4F5757FEA76ED395"); |
||
31 | $this->addSql("DROP TABLE agenda_event_invitee"); |
||
32 | } |
||
35 |