Ghost/core/server/data
Katharina Irrgang 91950cfea0
Optimised fixture replacement migration script (#9812)
no issue

- do only look for published old fixture posts
  - otherwise we detect draft old fixture post
  - and then we would replace them with published new fixture posts, which is not a very nice experience for the user
- ensure, if we have found all old fixture posts, replace all of them with the correct date
  - otherwise they are getting replaced and the date is "now"
- in general, this migration script is tricky and it tries to be smart, but there are so many cases we can run into
- to remember: the goal was to replace all old with new fixture posts (e.g. you just installed 1.25 and straight migrate to 2.0 - the old fixture posts should get replaced)
- added more protections to ensure we never delete custom posts using the same fixture post slugs
2018-08-22 13:35:58 +02:00
..
db Moved knex-migrator execution into Ghost 2018-08-16 12:13:24 +02:00
exporter 🔥 Removed permalink setting 2018-08-16 12:13:24 +02:00
importer Optimised error message in importer 2018-08-16 12:13:24 +02:00
meta 🐛 Fixed Disqus comments on post preview pages 2018-07-11 00:20:55 +02:00
migrations Optimised fixture replacement migration script (#9812) 2018-08-22 13:35:58 +02:00
schema Updated fixture post content 2018-08-16 12:13:24 +02:00
validation Updated docs links 2018-08-16 12:13:24 +02:00
xml/sitemap Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00