0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/core
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
..
client@54ced51f91
server 🐛 Fixed importer duplicate detection for posts 2018-01-03 00:07:41 +01:00
test 🐛 Fixed importer duplicate detection for posts 2018-01-03 00:07:41 +01:00
index.js