Ghost/core/server
Kevin Ansfield f038fbe0aa Fixed "Unable to update nested relation" errors when rolling back migrations
no issue

- we recently started wrapping rollbacks in transactions (https://github.com/TryGhost/knex-migrator/pull/161)
- in a number of migrations we were calling `model.destroy()` without passing through the options which includes the current transaction
- for models which are using `bookshelf-relations` this could result in an internal `SQLITE_BUSY: database is locked` error because it tries to run queries against tables that have been locked by previous queries in the transaction
- by passing through the options when calling `.destroy()` it allows the `bookshelf-relations` to re-use the same transction avoiding the database lock problems
2019-08-20 11:20:52 +01:00
..
adapters Standardised require call to use relative path 2019-08-15 11:57:45 +08:00
api Revert post.page->post.type handling 2019-08-19 12:02:14 +01:00
config 💡 Added canary api endpoint 2019-08-09 20:46:49 +05:30
data Fixed "Unable to update nested relation" errors when rolling back migrations 2019-08-20 11:20:52 +01:00
lib 🐛 Ignored node_modules dir when archiving (#10969) 2019-08-06 16:17:41 +08:00
models Revert post.page->post.type handling 2019-08-19 12:02:14 +01:00
public Update default 404 page 2019-07-15 14:47:01 +02:00
services 🐛 Fixed blog setup crashing for falsy email config (#11041) 2019-08-20 15:43:43 +05:30
translations 🐛Fixed generic 500 for bad key param in content API (#10977) 2019-08-12 12:56:09 +01:00
views Update default 404 page 2019-07-15 14:47:01 +02:00
web Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
analytics-events.js Added event to integrations when created (#10588) 2019-03-11 15:28:17 +01:00
ghost-server.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
index.js Extracted settings service part manipulating routes.yaml (#10800) 2019-06-25 18:33:56 +02:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Updated links to docs (#10941) 2019-07-22 18:17:50 +08:00