mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 22:01:49 +03:00
9b347d6d95
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) |
||
---|---|---|
.. | ||
hooks | ||
init | ||
versions |