Sha256: 1fe802a05c454872aee6d73ae22ceb81b6ba5a5d14e852fe885148b86fc81594

Contents?: true

Size: 509 Bytes

Versions: 1

Compression:

Stored size: 509 Bytes

Contents

class AddDetailsToPointsOfInterest < ActiveRecord::Migration[4.2]
  def change
    add_column :g5_updatable_points_of_interest, :phone_number, :string unless column_exists? :g5_updatable_points_of_interest, :phone_number
    add_column :g5_updatable_points_of_interest, :website, :string unless column_exists? :g5_updatable_points_of_interest, :website
    add_column :g5_updatable_points_of_interest, :google_map_url, :string unless column_exists? :g5_updatable_points_of_interest, :google_map_url
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
g5_updatable-1.0.2.pre.1 db/migrate/20170804184206_add_details_to_points_of_interest.rb