Internal: Migration: Fix cleanup for personal_agenda

pull/5289/head
Angel Fernando Quiroz Campos 2 years ago
parent dc4f4b0750
commit 8319838de4
  1. 10
      src/CoreBundle/Migrations/Schema/V200/Version20230904173401.php

@ -44,14 +44,14 @@ class Version20230904173401 extends AbstractMigrationChamilo
$this->addSql('ALTER TABLE personal_agenda DROP subscription_item_id');
}
if ($schema->hasTable('agenda_event_invitation')) {
$this->addSql('ALTER TABLE agenda_event_invitation DROP FOREIGN KEY FK_52A2D5E161220EA6');
$this->addSql('DROP TABLE agenda_event_invitation');
}
if ($schema->hasTable('agenda_event_invitee')) {
$this->addSql('ALTER TABLE agenda_event_invitee DROP FOREIGN KEY FK_4F5757FEA76ED395');
$this->addSql('DROP TABLE agenda_event_invitee');
}
if ($schema->hasTable('agenda_event_invitation')) {
$this->addSql('ALTER TABLE agenda_event_invitation DROP FOREIGN KEY FK_52A2D5E161220EA6');
$this->addSql('DROP TABLE agenda_event_invitation');
}
}
}

Loading…
Cancel
Save