nathggns / Scaffold

Lightweight PHP API Framework
Other
8 stars 2 forks source link

Dependant relationships #130

Closed nathggns closed 11 years ago

nathggns commented 11 years ago

For example a "like" on a post is dependant on both a user and a post. If both the user and the post have a dependant relationship, when one of them is deleted, so is the "like".

ClaudioAlbertin commented 11 years ago

Yes.

nathggns commented 11 years ago

I imagine these to be one way, so the like could be deleted without the user or post being deleted.

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling e093210b0e47f66669524b565907628ef5380a2e on issue-130 into 30fac644b535404114b31bdd1a81784a8cb57781 on development.

nathggns commented 11 years ago

We'll go through all @todos before we launch. I suggest we merge this now, as the functionality is there, and make it nicer when we launch later.

nathggns commented 11 years ago

@ClaudioAlbertin ^^

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling 05b8442f1173819cae5e7c7bbbb61ade7e43fd23 on issue-130 into 30fac644b535404114b31bdd1a81784a8cb57781 on development.