refs #758. Testing commandTask and commandGroups

feature/actions
Manuel Aranda Rosales 2024-09-27 10:58:57 +02:00
parent b0189d8d9e
commit ecd559391e
1 changed files with 2 additions and 2 deletions

View File

@ -20,14 +20,14 @@ final class Version20240926104532 extends AbstractMigration
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE organizational_unit DROP FOREIGN KEY FK_749AEB2DC56641EE');
$this->addSql('ALTER TABLE command_group DROP position');
$this->addSql('ALTER TABLE organizational_unit DROP remote_calendar_id');
$this->addSql('DROP INDEX IDX_749AEB2DC56641EE ON organizational_unit');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE organizational_unit ADD remote_calendar_id INT DEFAULT NULL');
$this->addSql('ALTER TABLE organizational_unit ADD CONSTRAINT FK_749AEB2DC56641EE FOREIGN KEY (remote_calendar_id) REFERENCES remote_calendar (id)');
$this->addSql('CREATE INDEX IDX_749AEB2DC56641EE ON organizational_unit (remote_calendar_id)');
$this->addSql('ALTER TABLE command_group ADD position INT NOT NULL');