Added quick fix to handle integration upserts for `x_by` columns (#10295)
Added quick fix to handle integration upserts for `x_by` columns (#10295)

refs #10286

- this is just a hotfix for v0.1
- we keep the x_by fields for now and deprecate them
- as soon as an integration updates/inserts a resource, we just store the owner ID
- we currently work on a new concept for v2
- v2 no longer exposes or uses x_by, see https://github.com/TryGhost/Ghost/pull/10294
- we need to iterate on this change, because we currently use the naming `context.api_key_id` in the auth/API layer

janvt/Ghost,e10/Ghost,JohnONolan/Ghost,TryGhost/Ghost,kevinansfield/Ghost,e10/Ghost,Kikobeats/Ghost,Kikobeats/Ghost,Gargol/Ghost,TryGhost/Ghost,kevinansfield/Ghost,TryGhost/Ghost,kevinansfield/Ghost,ErisDS/Ghost,janvt/Ghost,JohnONolan/Ghost,ErisDS/Ghost,bitjson/Ghost,Gargol/Ghost,ErisDS/Ghost,JohnONolan/Ghost,bitjson/Ghost,Kikobeats/Ghost