Add unique index to members
Modify old hash syntax
Add unique index to votes
Update schema.rb by rake db:migrate