mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
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 |
||
---|---|---|
.. | ||
1.3 | ||
1.4 | ||
1.5 | ||
1.7 | ||
1.9 | ||
1.13 | ||
1.18 | ||
1.19 | ||
1.20 | ||
1.21 | ||
1.22 | ||
1.25 | ||
2.0 | ||
2.2 | ||
2.3 | ||
2.6 | ||
2.8 | ||
2.13 | ||
2.14 | ||
2.15 | ||
2.16 | ||
2.17 | ||
2.18 | ||
2.21 | ||
2.22 | ||
2.27 | ||
2.28 | ||
2.29 |