1 <?php
declare(strict_types
=1);
3 namespace Application\Migrations
;
5 use Doctrine\DBAL\Schema\Schema
;
6 use Doctrine\Migrations\AbstractMigration
;
9 * Auto-generated Migration: Please modify to your needs!
11 final class Version20190806131006
extends AbstractMigration
13 public function up(Schema
$schema) : void
15 $this->addSql('CREATE INDEX user_starred ON wallabag_entry (user_id, is_starred, starred_at)');
18 public function down(Schema
$schema) : void
20 $this->addSql('DROP INDEX user_starred ON `wallabag_entry`');