Sha256: be7a2a19885d3e847a04f6d3704f05ec6f41189a73c69af0fa17542de6f7acb1

Contents?: true

Size: 263 Bytes

Versions: 18

Compression:

Stored size: 263 Bytes

Contents

class ReplaceTestRunsDetailsWithTests < ActiveRecord::Migration
  def up
    remove_column :test_runs, :details
    add_column :test_runs, :tests, :text
  end

  def down
    remove_column :test_runs, :tests
    add_column :test_runs, :details, :hstore
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
houston-core-0.8.0.pre db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.7.0 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.7.0.beta4 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.7.0.beta3 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.7.0.beta2 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.7.0.beta db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.6.3 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.6.2 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.6.1 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.6.0 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.5.6 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.5.5 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.5.4 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.5.3 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.5.2 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.5.1 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.5.0 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb
houston-core-0.5.0.beta1 db/migrate/20130106184327_replace_test_runs_details_with_tests.rb