Sha256: 5684ed8315a87b04d42bf813d06ff808d872b31c25ddead0ae3694273bc48df4

Contents?: true

Size: 357 Bytes

Versions: 83

Compression:

Stored size: 357 Bytes

Contents

class CreateAppstatsContexts < ActiveRecord::Migration
  def self.up
    create_table :appstats_contexts do |t|
      t.string :context_key
      t.string :context_value
      t.integer :context_int
      t.float :context_float
      t.integer :appstats_entry_id
      t.timestamps
    end
  end

  def self.down
    drop_table :appstats_contexts
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

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