addSql("UPDATE c_forum_post SET post_parent_id = NULL WHERE post_parent_id = 0"); } /** * @param Schema $schema */ public function down(Schema $schema) { $this->addSql('UPDATE c_forum_post SET post_parent_id = 0 WHERE post_parent_id = NULL'); } }