Ghost/core/server/models
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
..
base Increased speed of importer 2018-02-20 09:56:45 +01:00
plugins Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
accesstoken.js Import lib/common only 2017-12-12 10:28:13 +01:00
app-field.js
app-setting.js
app.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
client-trusted-domain.js
client.js
index.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
invite.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
permission.js
post.js Imported nested tags by foreign key 2018-02-20 09:56:45 +01:00
refreshtoken.js
role.js Contributor Role (#9315) 2018-02-07 10:46:22 +01:00
settings.js Improved validation layer (#9427) 2018-02-16 00:49:15 +01:00
subscriber.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
tag.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
user.js Improved validation layer (#9427) 2018-02-16 00:49:15 +01:00
webhook.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00