source: Dev/trunk/src/server/config/couchdb-upgrade-design-docs.js @ 526

Last change on this file since 526 was 519, checked in by hendrikvanantwerpen, 11 years ago
  • Support different environments with QED_ENV. If dev, run against qed-dev database, if production, run against qed database. The UI indicates if we are running in anything but production mode.
  • Return undefined if we allow page leaves, because null is treated as a value.
  • Changed format of design docs, so it can work for different databases.
  • Use correct design documents in configCouch, so server now actually updates them when it starts.
File size: 148 bytes
RevLine 
[487]1module.exports = {
2
[519]3    "schemaInfo": {
[487]4        version: "-1"
5    },
6
[519]7    "_design/protectPublished": {
8        __configAction: "replace"
[487]9    }
10
11};
Note: See TracBrowser for help on using the repository browser.