Uploaded image for project: 'Doctrine CouchDB ODM'
  1. Doctrine CouchDB ODM
  2. CODM-36

Github-PR-23 by marnusw: Added UpdateAllDesignDocsCommand so all new/modified design docs can be added in one go


    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Labels:


      This issue is created automatically through a Github pull request on behalf of



      Url: https://github.com/doctrine/couchdb-odm/pull/23


      The UpdateAllDesignDocsCommand checks which design documents have changed and updates only those and also pushes new design docs to the db. A method for retrieving the registered design doc names was added to the Configuration class since this is needed when checking which docs have been modified.

      It took me quite a while to figure out that I should be using the couchdb:odm:update-design-doc command to write the ODM design docs which are included in the config by default to the db. I think the presence of this command would make it clearer that it could be run to sort out any missing design docs.

      I also reckon it may become a bit tedious to add each modified doc individually, now they can be updated in one go.



          • Assignee:
            beberlei Benjamin Eberlei
            beberlei Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: