Sha256: 23933a7fa08ce9559d4ec1a3025b31be61eca43a52949d85563030abebc41dd7

Contents?: true

Size: 390 Bytes

Versions: 12

Compression:

Stored size: 390 Bytes

Contents

class AddCommandLogs < ActiveRecord::Migration

    def up
        create_table :command_logs do |t|
            t.string   :command, :null => false
            t.string :logdir
            t.datetime :started_at
            t.datetime :finished_at
            t.integer  :state, :default => 0, :null => false
        end
    end

    def down
        drop_table :command_logs
    end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
build-tool-0.6.9 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.8 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.7 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.6 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.5 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.4 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.3 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.2 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.1 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.0 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.0.rc2 db/migrations/20110703074000_add_command_logs.rb
build-tool-0.6.0.rc1 db/migrations/20110703074000_add_command_logs.rb