Sha256: 80ee73bd470aac7db6b3559d2fb09f5a00257295c7c85a6d90b2303410302a4d

Contents?: true

Size: 403 Bytes

Versions: 12

Compression:

Stored size: 403 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def self.up
    create_table :trackable_tasks_task_runs do |t|
      t.string :task_type
      t.datetime :start_time
      t.datetime :end_time
      t.text :error_text
      t.text :log_text
      t.boolean :success, :default => false

      t.timestamps
    end 
  end

  def self.down
    drop_table :trackable_tasks_task_runs
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trackable_tasks-0.1.3 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.1.2 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.1.1 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.1.0 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.0.13 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.0.12 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.0.11 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.0.10 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.0.9 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.0.8 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.0.7 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb
trackable_tasks-0.0.6 lib/generators/trackable_tasks/templates/migrations/install_migration.rb.erb