addSql('ALTER TABLE stock ADD update_time DATETIME DEFAULT NULL'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs $this->addSql('ALTER TABLE stock DROP update_time'); } }