Sha256: 008e57a8c6e724987ea3dd3d7dedf952a6c044663aa1e28b0584bbd7b20b6022

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

class CreateTasks < ActiveRecord::Migration
  def self.up
    create_table :tasks do |t|
      t.string :name
      t.text :body
      t.integer :exit_code
      t.timestamps
    end
  end
 
  def self.down
    drop_table :tasks
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluentd-server-0.3.2 db/migrate/0003_create_tasks.rb
fluentd-server-0.3.1 db/migrate/0003_create_tasks.rb
fluentd-server-0.3.0 db/migrate/0003_create_tasks.rb
fluentd-server-0.2.0 db/migrate/0003_create_tasks.rb