0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/models
kirrg001 02bd71d0f5 🐛 Fixed importer duplicate detection for posts
closes #8717

- this is now required, because we run import queries sequentiell
- this code protects two cases:
  - you have duplicate slugs in the JSON file (the first get's inserted, the second get's ignored)
  - you have an existing slug in the database and you try to import the same slug, get's ignored
2018-01-03 00:07:41 +01:00
..
base 🐛 Fixed importer duplicate detection for posts 2018-01-03 00:07:41 +01:00
plugins Import lib/common only 2017-12-12 10:28:13 +01:00
accesstoken.js Import lib/common only 2017-12-12 10:28:13 +01:00
app-field.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app-setting.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
app.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
client-trusted-domain.js Add table columns for OAuth 2015-09-02 13:39:22 +01:00
client.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
index.js Webhooks support for subscriber events (#9230) 2017-11-21 15:43:14 +00:00
invite.js Moved utils constants to lib/constants 2017-12-14 14:13:40 +01:00
permission.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
post.js Moved default-cards app to lib/mobiledoc (#9341) 2017-12-14 14:44:01 +00:00
refreshtoken.js Misc cleanup: moving files & naming functions 2015-06-15 09:43:19 +01:00
role.js Import lib/common only 2017-12-12 10:28:13 +01:00
settings.js Import lib/common only 2017-12-12 10:28:13 +01:00
subscriber.js Import lib/common only 2017-12-12 10:28:13 +01:00
tag.js Import lib/common only 2017-12-12 10:28:13 +01:00
user.js Moved image utils to lib/image 2017-12-14 20:46:53 +01:00
webhook.js Import lib/common only 2017-12-12 10:28:13 +01:00