Sha256: d749f6908dce0ed8867a146ef39fc9e8adba4c2179d7623627165c659802cbee

Contents?: true

Size: 438 Bytes

Versions: 20

Compression:

Stored size: 438 Bytes

Contents

require 'rubygems'
require 'sequel/extensions/migration'

Class.new( Sequel::Migration ) do

    def up
        create_table :command_logs do
            primary_key :id, :null => false
            String   :command, :null => false
            DateTime :started_at
            DateTime :finished_at
            Integer  :state, :default => 0, :null => false
        end
    end

    def down
        drop_table :command_logs
    end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
build-tool-0.5.7 db/migrations/001_command_histories.rb
build-tool-0.5.6 db/migrations/001_command_histories.rb
build-tool-0.5.5 db/migrations/001_command_histories.rb
build-tool-0.5.4 db/migrations/001_command_histories.rb
build-tool-0.5.3 db/migrations/001_command_histories.rb
build-tool-0.5.2 db/migrations/001_command_histories.rb
build-tool-0.4.6 db/migrations/001_command_histories.rb
build-tool-0.5.1 db/migrations/001_command_histories.rb
build-tool-0.4.5 db/migrations/001_command_histories.rb
build-tool-0.5.0 db/migrations/001_command_histories.rb
build-tool-0.4.4 db/migrations/001_command_histories.rb
build-tool-0.4.3 db/migrations/001_command_histories.rb
build-tool-0.4.2 db/migrations/001_command_histories.rb
build-tool-0.4.1 db/migrations/001_command_histories.rb
build-tool-0.4.0 db/migrations/001_command_histories.rb
build-tool-0.3.3 db/migrations/001_command_histories.rb
build-tool-0.3.2 db/migrations/001_command_histories.rb
build-tool-0.3.1 db/migrations/001_command_histories.rb
build-tool-0.3 db/migrations/001_command_histories.rb
build-tool-0.2 db/migrations/001_command_histories.rb