Sha256: 4a68409eac09002de6f4dc46425ab1e4c4338e55f6be42d7d8b7354f490bac50

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

# This migration comes from flyboy (originally 20150415130939)
class AddProgressToGoals < ActiveRecord::Migration
  def change
    add_column :flyboy_goals, :progress, :integer
    Flyboy::Goal.all.map(&:update_progress!)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
customer_vault-1.3.2 spec/dummy/db/migrate/20150525124039_add_progress_to_goals.flyboy.rb
customer_vault-1.3.1 spec/dummy/db/migrate/20150525124039_add_progress_to_goals.flyboy.rb
customer_vault-1.3.0 spec/dummy/db/migrate/20150525124039_add_progress_to_goals.flyboy.rb