     field :fax, :string
     field :first_name, :string
     field :last_name, :string
+    field :member_id, :string
     field :middle_name, :string
     field :missed_votes_pct, :float
     field :most_recent_vote, :date

  use Ecto.Schema
  import Ecto.Changeset
  alias Who.Member


  schema "members" do

    |> cast(attrs, [:first_name, :middle_name, :last_name, :date_of_birth, :url, :twitter_account, :facebook_account, :youtube_account, :current_party, :most_recent_vote, :chamber, :title, :state, :disctict, :at_large, :start_date, :end_date, :office, :phone, :fax, :contact_form, :bills_sponsored, :bills_cosponsored, :missed_votes_pct, :votes_with_party_pct, :committees])
    |> validate_required([:first_name, :middle_name, :last_name, :date_of_birth, :url, :twitter_account, :facebook_account, :youtube_account, :current_party, :most_recent_vote, :chamber, :title, :state, :disctict, :at_large, :start_date, :end_date, :office, :phone, :fax, :contact_form, :bills_sponsored, :bills_cosponsored, :missed_votes_pct, :votes_with_party_pct, :committees])
  end

  def changeset(member_) do
    
  end
end
