Ghost/core/server/data/schema/default-settings.json
Katharina Irrgang 584bd15b76 🔥 remove database version (#7894)
refs #7489

- as we are now using a different migration approach (knex-migrator), we don't need to remember the database version anymore
- it was once used to check the state of a database and based on it we decided to migrate or not
- with knex-migrator everything depends on the migration table entries and the current ghost version you are on
- on current master the leftover usage is to add the db version when exporting the database, which can be replaced by reading the ghost version
- removing this solves also an interesting migration case with knex-migrator:
  - you are on 1.0
  - you update to 1.1, but 1.1 has no migrations
  - the db version would remain in 1.0
  - because the db version was only updated when knex migrator executed a migration
2017-01-26 12:12:00 +00:00

115 lines
2.6 KiB
JSON

{
"core": {
"dbHash": {
"defaultValue": null
},
"nextUpdateCheck": {
"defaultValue": null
},
"displayUpdateNotification": {
"defaultValue": null
},
"seenNotifications": {
"defaultValue": "[]"
}
},
"blog": {
"title": {
"defaultValue": "Ghost"
},
"description": {
"defaultValue": "Just a blogging platform."
},
"logo": {
"defaultValue": ""
},
"cover": {
"defaultValue": ""
},
"icon": {
"defaultValue": ""
},
"defaultLang": {
"defaultValue": "en_US",
"validations": {
"isEmpty": false
}
},
"postsPerPage": {
"defaultValue": "5",
"validations": {
"isEmpty": false,
"isInt": true,
"isLength": [1, 1000]
}
},
"activeTimezone": {
"defaultValue": "Etc/UTC",
"validations": {
"isTimezone": true,
"isEmpty": false
}
},
"forceI18n": {
"defaultValue": "true",
"validations": {
"isEmpty": false,
"isIn": [["true", "false"]]
}
},
"permalinks": {
"defaultValue": "/:slug/",
"validations": {
"matches": "^(\/:?[a-z0-9_-]+){1,5}\/$",
"matches": "(:id|:slug|:year|:month|:day|:author)",
"notContains": "/ghost/"
}
},
"amp": {
"defaultValue" : "true"
},
"ghost_head": {
"defaultValue" : ""
},
"ghost_foot": {
"defaultValue" : ""
},
"facebook": {
"defaultValue" : ""
},
"twitter": {
"defaultValue" : ""
},
"labs": {
"defaultValue": "{}"
},
"navigation": {
"defaultValue": "[{\"label\":\"Home\", \"url\":\"/\"}]"
},
"slack": {
"defaultValue": "[{\"url\":\"\"}]"
}
},
"theme": {
"activeTheme": {
"defaultValue": "casper"
}
},
"app": {
"activeApps": {
"defaultValue": "[]"
},
"installedApps": {
"defaultValue": "[]"
}
},
"private": {
"isPrivate": {
"defaultValue": "false"
},
"password": {
"defaultValue": ""
}
}
}