Sha256: 47a71f45df81908ccec8c6127e083adf79817c872688c18757c6f3878844e10a

Contents?: true

Size: 474 Bytes

Versions: 83

Compression:

Stored size: 474 Bytes

Contents

class ReworkAppstatsEntries < ActiveRecord::Migration
  def self.up
    drop_table :appstats_entries
    create_table :appstats_entries do |t|
      t.string :action
      t.datetime :occurred_at
      t.text :raw_entry
      t.timestamps
    end
  end

  def self.down
    drop_table :appstats_entries
    create_table :appstats_entries do |t|
      t.string :entry_type
      t.string :name, :null => false
      t.string :description
      t.timestamps
    end
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
appstats-0.20.11 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.20.10 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.20.9 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.20.8 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.20.7 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.20.6 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.20.2 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.20.1 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.20.0 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.19.7 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.19.6 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.19.2 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.19.1 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.19.0 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.18.0 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.17.5 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.17.4 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.17.3 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.17.2 db/migrations/20110203151635_rework_appstats_entries.rb
appstats-0.17.1 db/migrations/20110203151635_rework_appstats_entries.rb