The function Doctrine\DBAL\Platforms\...ractPlatform::getName() has been deprecated: Identify platforms by their class.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
14
$this->abortIf(/** @scrutinizer ignore-deprecated */ $this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be
removed and what other function to use instead.
Loading history...
15
16
$this->addSql('ALTER TABLE expense_claim ADD reviewer_id INT DEFAULT NULL AFTER `updater_id`');
17
$this->addSql('ALTER TABLE expense_claim ADD CONSTRAINT FK_461791D70574616 FOREIGN KEY (reviewer_id) REFERENCES user (id) ON DELETE SET NULL');
18
$this->addSql('CREATE INDEX IDX_461791D70574616 ON expense_claim (reviewer_id)');
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.