Sha256: 1b1c645a34809673975a6c7a2fe724f0ccdefb9a39688ea49796f0afe25b81b0

Contents?: true

Size: 398 Bytes

Versions: 34

Compression:

Stored size: 398 Bytes

Contents

class AddAppstatsResultsQueryDurationInSeconds < ActiveRecord::Migration
  def self.up
    add_column :appstats_results, :query_duration_in_seconds, :float
    add_column :appstats_results, :group_query_duration_in_seconds, :float
  end

  def self.down
    remove_column :appstats_results, :query_duration_in_seconds
    remove_column :appstats_results, :group_query_duration_in_seconds
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
appstats-0.25.1 db/migrate/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.25.0 db/migrate/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.24.0 db/migrate/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.23.5 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.23.4 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.23.3 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.23.2 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.23.1 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.23.0 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.22.6 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.22.5 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.22.4 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.22.3 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.22.2 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.22.1 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.22.0 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.21.3 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.21.2 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.21.1 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb
appstats-0.20.12 db/migrations/20110321154125_add_appstats_results_query_duration_in_seconds.rb