Sha256: 8c983c25f818a22654ceb0bacae76149c182e3735f8c641e043654dd4fb796a9

Contents?: true

Size: 328 Bytes

Versions: 66

Compression:

Stored size: 328 Bytes

Contents

class CreateAppstatsJobs < ActiveRecord::Migration
  def self.up
    create_table :appstats_result_jobs do |t|
      t.string :name
      t.string :frequency
      t.string :status
      t.text :query
      t.datetime :last_run_at
      t.timestamps
    end
  end

  def self.down
    drop_table :appstats_result_jobs
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

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