MigrationBundle/Migrations/Version20170307181737.php
protected function updateFolders(Database $db)
    {
        $this->write(' + Updating media folder documents');

        $this->createFolderId($db);
        $this->createFolderPath();
        $this->updateFolderNames($db);
    }
protected function updateFolders(Database $db)
    {
        $this->write(' + Updating media folder documents');

        $this->createFolderId($db);
        $this->createFolderPath();
        $this->updateFolderNames($db);
    }
protected function updateFolders ( Database $ db ) { $ this -> write ( ' + Updating media folder documents' ) ; $ this -> createFolderId ( $ db ) ; $ this -> createFolderPath ( ) ; $ this -> updateFolderNames ( $ db ) ; }
Update folder documents

@param Database $db
Update folder documents