0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/models/base
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
..
index.js 🐛 Fixed importer duplicate detection for posts 2018-01-03 00:07:41 +01:00
listeners.js Moved pipeline/sequence to lib/promise 2017-12-13 22:20:02 +01:00
token.js Import lib/common only 2017-12-12 10:28:13 +01:00
utils.js Import lib/common only 2017-12-12 10:28:13 +01:00