Ghost/core/server/data
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
..
db Updated links to docs (#10941) 2019-07-22 18:17:50 +08:00
exporter Removed all accesstokens and refreshtokens related code 2019-09-12 15:45:27 +01:00
importer Removed subscribers from the codebase (#11153) 2019-10-09 11:47:04 +02:00
migrations 🐛 Fixed 3.0 migration on SQLite with many posts (#11302) 2019-10-29 12:16:47 +00:00
schema 💄Updated fixtures for Ghost v3 content + assets (#11247) 2019-10-17 10:49:30 +02:00
validation 🏗 Migrated posts.page column to posts.type (#11111) 2019-09-16 11:51:54 +01:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00