eddiem3 / live-chair

Web app and api for Live Chair
1 stars 0 forks source link

Barber and Client models #17

Open eddiem3 opened 9 years ago

eddiem3 commented 9 years ago

Hey guys,

I think we should have a model for the barber and a model for the client and relate a an appointment between a barber and a client via a has many through relationship. To me it'll be easier to keep track of appointments this way.

sakshyamdahal commented 9 years ago

Ya abstracting the barber and the client in separate model makes more sense then the user model that we currently have.

ikalu commented 9 years ago

That's fine. To me, we can do whatever either ways with same level of difficulty.

eddiem3 commented 9 years ago

Ok I'll go ahead with it then

On Wednesday, February 4, 2015, Ifeanyi Kalu notifications@github.com wrote:

That's fine. To me, we can do whatever either ways with same level of difficulty.

— Reply to this email directly or view it on GitHub https://github.com/eddiem3/live-chair/issues/17#issuecomment-72854637.

Eddie Massey III

Artificial Intelligence in Action Founder Low Country Judicial Merit Selection Committee Member Orangeburg County Democratic Party Web Developer Kingspromise.org Founder

eddiem3 commented 9 years ago

Btw, this will also imply breaking the api into a V2. Have you guys started with the app already? If so you'll need to change the endpoint once this is done.

ikalu commented 9 years ago

We haven't started yet... We begin this weekend.