0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/data
Hannah Wolfe 9030620b23 Ensure fixture operations only run if needed
refs #6301

- Make sure that every fixture operation has a check to ensure that it hasn't already run
- E.g. The update of sort_order on posts_tags should only happen if there are no values which aren't a zero
  - This makes sure that we don't accidentally overwrite data on FORCE_MIGRATE
- No need to try to set settings types if they are already correct
- Only update the admin client if it needs it, else we're regenerating secrets each time
2016-03-21 18:15:01 +00:00
..
db Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
export Exporter cleanup & tests 2016-03-12 19:01:25 +00:00
import deps: bluebird@3.1.2 2016-03-01 14:47:23 -06:00
importer Harvest server side strings 2015-12-19 12:12:16 +01:00
meta Clean up paginated URL generation 2016-03-20 22:35:00 +00:00
migration Ensure fixture operations only run if needed 2016-03-21 18:15:01 +00:00
schema Rewrite DB update to be explicit 2016-03-17 21:17:19 +00:00
validation Harvest server side strings 2015-12-19 12:12:16 +01:00
xml Fix cache-control header for sitemaps 2016-01-25 17:56:05 +00:00
timezones.json Including timezones API in configuration endpoint 2016-02-24 16:44:01 +02:00