Sha256: d7a4d14caa046a433ac7f0cb96d4b992900b98327b3f746d0adc92629f87ff56

Contents?: true

Size: 304 Bytes

Versions: 8

Compression:

Stored size: 304 Bytes

Contents

Sequel.migration do
  up do
    [:scenarios, :scenarios_versions].each do |name|
      alter_table(name) { add_column(:run_count, Integer, :default => 0) }
    end
  end

  down do
    [:scenarios, :scenarios_versions].each do |name|
      alter_table(name) { drop_column(:run_count) }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
coupler-0.0.9-java db/migrate/013_add_run_count_to_scenarios.rb
coupler-0.0.8-java db/migrate/013_add_run_count_to_scenarios.rb
coupler-0.0.7-java db/migrate/013_add_run_count_to_scenarios.rb
coupler-0.0.6-java db/migrate/013_add_run_count_to_scenarios.rb
coupler-0.0.4-java db/migrate/013_add_run_count_to_scenarios.rb
coupler-0.0.3-java db/migrate/013_add_run_count_to_scenarios.rb
coupler-0.0.2-java db/migrate/013_add_run_count_to_scenarios.rb
coupler-0.0.1-java db/migrate/013_add_run_count_to_scenarios.rb