rubyforgood / share_christmas

Share Your Holiday Application
4 stars 3 forks source link

add membership and remove donors #46

Closed AEgan closed 8 years ago

AEgan commented 8 years ago

Add a membership model that belongs to an organization and a user, and removes the donor model. The membership model not represents the concept of a donor, so the model and table are no longer necessary.

This also adds a first name and last name to a user. We need to store and display that information and I figured I would add that while the patient is open.

I believe that no changes are made if the migration fails at any point, but as a sanity check I would appreciate if someone would checkout this branch and run rake db:migrate

Also, solves #34

AEgan commented 8 years ago

hold off on merging this real quick, I want to add a boolean field to subscribe / unsubscribe from emails