abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); $this->addSql('ALTER TABLE company_rel_logistics ADD distributor_id BIGINT UNSIGNED DEFAULT 0 NOT NULL COMMENT \'分销商id\''); } /** * @param Schema $schema */ public function down(Schema $schema): void { } }