connection->executeQuery('UPDATE assignment SET status=? WHERE deleted_at is NOT NULL', [Assignment::STATUS_DELETED]); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs } }