Page MenuHomePhorge

Get rid of owner_id
ClosedPublic

Authored by machniak on Mar 13 2020, 1:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 5:04 AM
Unknown Object (File)
Tue, Apr 9, 4:42 AM
Unknown Object (File)
Mon, Apr 8, 1:13 AM
Unknown Object (File)
Mar 31 2024, 1:35 PM
Unknown Object (File)
Mar 29 2024, 5:40 AM
Unknown Object (File)
Mar 28 2024, 3:30 AM
Unknown Object (File)
Feb 25 2024, 8:01 AM
Unknown Object (File)
Jan 19 2024, 5:09 PM
Subscribers
None

Details

Summary

Removed entitlements.owner_id column and Entitlement::owner()

Diff Detail

Repository
rK kolab
Branch
dev/remove-owner-id
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 28552
Build 10246: arc lint + arc unit

Event Timeline

machniak created this revision.
vanmeeuwen added inline comments.
src/app/Entitlement.php
74

I think the function owner() may be preserved yet changed, similar to how App\Domain::wallet() chases the domain through the entitlement to a wallet.

This revision now requires changes to proceed.Mar 13 2020, 1:46 PM
src/app/Entitlement.php
74

I don't want to make it that simple, so we push ourselvs to think wallets not owners. There's really no need to have it as it would simply be $this->wallet()->owner.

This revision is now accepted and ready to land.Mar 13 2020, 3:01 PM
This revision was automatically updated to reflect the committed changes.