abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on \'mysql\'.'); $this->addSql('ALTER TABLE pointsmall_items ADD pay_class VARCHAR(255) DEFAULT \'point\' COMMENT \'支付方式 point积分支付 online在线支付 mix混合支付\''); } /** * @param Schema $schema */ public function down(Schema $schema): void { } }