The class Doctrine\DBAL\Migrations\AbstractMigration has been deprecated: Please use Doctrine\Migrations\AbstractMigration
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
11
final class Version20180604074628 extends /** @scrutinizer ignore-deprecated */ AbstractMigration
Loading history...
12
{
13
public function up(Schema $schema) : void
14
{
15
// this up() migration is auto-generated, please modify it to your needs
16
$this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'mysql', 'Migration can only be executed safely on \'mysql\'.');
17
18
$this->addSql('CREATE TABLE project__details (project_id INT NOT NULL, need_description LONGTEXT NOT NULL, target_description LONGTEXT NOT NULL, goal_description LONGTEXT NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, PRIMARY KEY(project_id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB');