class AddGoogleLocalisationToAnnonces < ActiveRecord::Migration
  def change

    add_column :annonces, :g_postal_code, :string
    add_column :annonces, :g_city, :string
    add_column :annonces, :g_sub_state, :string
    add_column :annonces, :g_sub_state_code, :string
    add_column :annonces, :g_state, :string
    add_column :annonces, :g_state_code, :string
    add_column :annonces, :g_country, :string
    add_column :annonces, :g_country_code, :string
    add_column :annonces, :g_text, :string
    add_column :annonces, :g_latitude, :decimal, {:precision=>10, :scale=>6}
    add_column :annonces, :g_longitude, :decimal, {:precision=>10, :scale=>6}
    
    
  end
end
