0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/data/importer
kirrg001 68d8154d4f Imported nested tags by foreign key
no issue

- replace logic for preparing nested tags
- if you have nested tags in your file, we won't update or update the target tag
- we simply would like to add the relationship to the database
- use same approach as base class
  - add `posts_tags` to target post model
  - update identifiers
  - insert relation by foreign key `tag_id`
- bump bookshelf-relations to 0.1.10
2018-02-20 09:56:45 +01:00
..
handlers Use Promise support which was added in fs-extra 3.x 2017-12-13 20:57:11 +01:00
importers Imported nested tags by foreign key 2018-02-20 09:56:45 +01:00
index.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00