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
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