addSql('DROP INDEX chill_main_notification_related_entity_idx'); } public function getDescription(): string { return 'Create index for counting notifications'; } public function up(Schema $schema): void { $this->addSql('CREATE INDEX chill_main_notification_related_entity_idx ON chill_main_notification (relatedentityclass, relatedentityid DESC)'); } }