addSql('CREATE INDEX idx_wallet_user_type ON wallet_transactions (user_id, type)'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs $this->addSql('DROP INDEX idx_wallet_user_type ON wallet_transactions'); } }