0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
Naz Gargol 9b347d6d95 🐛 Fixed 3.0 migration on SQLite with many posts (#11302)
refs https://github.com/TryGhost/Ghost/pull/11270

- Fixed 3.0/11-update-posts-html migration which failed in scenario when more than 999 posts with posts_meta relation were present
- The issue was originally spotted here: https://github.com/TryGhost/Ghost/pull/11270#issuecomment-546248308
- The main problem is in the `SELECT` statement which is generated for `findAll` method in Bookshelf which creates `WHERE IN(post_ids_here)` statement with all posts in the database
- Using knex directly as that's a preferred way to write migrations (does not depend on the model layer)
2019-10-29 12:16:47 +00:00
..
adapters
api 🐛 Fixed members export limiting to 15 members only (#11299) 2019-10-29 10:20:32 +05:30
config 💡 Removed list of reserved slugs (#11301) 2019-10-29 09:49:47 +00:00
data 🐛 Fixed 3.0 migration on SQLite with many posts (#11302) 2019-10-29 12:16:47 +00:00
lib Merge branch 'master' into v3 2019-10-11 11:31:31 +01:00
models Updated webhook default to v3 api 2019-10-14 15:50:24 +07:00
public Updated default publication icon 2019-10-17 07:59:21 +02:00
services Refined member emails 2019-10-16 14:22:42 +07:00
translations Removed subscribers from the codebase (#11153) 2019-10-09 11:47:04 +02:00
views
web 🐛 Fixed 404s when using a proxy setup (#11269) 2019-10-28 11:22:05 +00:00
analytics-events.js
ghost-server.js
index.js
overrides.js
update-check.js