Ghost/core/server/models/base
Katharina Irrgang b003a6c173 🐛 fix transfer ownership (#8784)
closes #8781

- when the ownership get's transferred, the id of the new owner is not '1' anymore
- we previously added a database rule, which signalises if the blog is setup or not, see 827aa15757 (diff-7a2fe80302d7d6bf67f97cdccef1f71fR542)
- this database rule is based on the owner id being '1', which is wrong when you transfer ownership
- we should keep in mind, that the owner id being '1' is only the default Ghost setup, but it can change
- blog is setup if the owner is locked
2017-07-31 13:37:37 +04:00
..
index.js 🐛 fix transfer ownership (#8784) 2017-07-31 13:37:37 +04:00
listeners.js 🎨 do not run model listeners on import (#8720) 2017-07-21 09:58:58 +01:00
token.js 🐛 🎨 old accesstokens are not cleaned up (#8065) 2017-03-01 10:12:03 +00:00
utils.js 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00