<?php

namespace Oro\Bundle\CalendarBundle\Migrations\Schema\v1_4;

use Doctrine\DBAL\Schema\Schema;

use Oro\Bundle\MigrationBundle\Migration\Migration;
use Oro\Bundle\MigrationBundle\Migration\QueryBag;

class OroCalendarBundle implements Migration
{

    /**
     * {@inheritdoc}
     */
    public function up(Schema $schema, QueryBag $queries)
    {
        $table = $schema->getTable('oro_calendar_event');
        $table->addIndex(['updated_at'], 'oro_calendar_event_updated_at_idx', []);
    }
}

<?php

namespace Oro\Bundle\CalendarBundle\Migrations\Schema\v1_4;

use Doctrine\DBAL\Schema\Schema;

use Oro\Bundle\MigrationBundle\Migration\Migration;
use Oro\Bundle\MigrationBundle\Migration\QueryBag;

class OroCalendarBundle implements Migration
{
    /**
     * {@inheritdoc}
     */
    public function up(Schema $schema, QueryBag $queries)
    {
        $table = $schema->getTable('oro_calendar_event');
        $table->addIndex(['updated_at'], 'oro_calendar_event_updated_at_idx', []);
    }
}

Return updatedAt field for API methods of Calendar Events. CS fix
BAP-5789: Return updatedAt field for API methods of Calendar Events. CS fix
