mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-08 04:03:12 +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) |
||
---|---|---|
.. | ||
db | ||
exporter | ||
importer | ||
migrations | ||
schema | ||
validation | ||
timezones.json |