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('CREATE TABLE configuration (id INT AUTO_INCREMENT NOT NULL, creator_id INT DEFAULT NULL, owner_id INT DEFAULT NULL, updater_id INT DEFAULT NULL, creation_date DATETIME DEFAULT NULL, update_date DATETIME DEFAULT NULL, `key` VARCHAR(191) NOT NULL, value LONGTEXT NOT NULL, description TEXT NOT NULL, UNIQUE INDEX UNIQ_A5E2A5D74E645A7E (`key`), INDEX IDX_A5E2A5D761220EA6 (creator_id), INDEX IDX_A5E2A5D77E3C61F9 (owner_id), INDEX IDX_A5E2A5D7E37ECFB0 (updater_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB');
17
$this->addSql('ALTER TABLE configuration ADD CONSTRAINT FK_A5E2A5D761220EA6 FOREIGN KEY (creator_id) REFERENCES user (id) ON DELETE SET NULL');
18
$this->addSql('ALTER TABLE configuration ADD CONSTRAINT FK_A5E2A5D77E3C61F9 FOREIGN KEY (owner_id) REFERENCES user (id) ON DELETE SET NULL');
19
$this->addSql('ALTER TABLE configuration ADD CONSTRAINT FK_A5E2A5D7E37ECFB0 FOREIGN KEY (updater_id) REFERENCES user (id) ON DELETE SET NULL');
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.