Sha256: d122ffe7d208b87cb0903cc801963fe97bca7ad91e9007b063e0e216d392396b

Contents?: true

Size: 408 Bytes

Versions: 44

Compression:

Stored size: 408 Bytes

Contents

Sequel.migration do
    up do
        create_table(:actions) do
            primary_key :id
            Integer :system_id, null: false
            Integer :command_config_id
            Integer :script_id
            Integer :timestamp
            Boolean :success
            String  :response
            String  :file, text: true
        end
    end

    down do
        drop_table(:actions)
    end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
perus-1.0.7 lib/perus/server/migrations/007_create_actions.rb
perus-1.0.6 lib/perus/server/migrations/007_create_actions.rb
perus-1.0.5 lib/perus/server/migrations/007_create_actions.rb
perus-1.0.4 lib/perus/server/migrations/007_create_actions.rb
perus-1.0.3 lib/perus/server/migrations/007_create_actions.rb
perus-1.0.2 lib/perus/server/migrations/007_create_actions.rb
perus-1.0.1 lib/perus/server/migrations/007_create_actions.rb
perus-1.0.0 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.35 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.34 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.33 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.32 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.31 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.30 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.29 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.28 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.27 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.26 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.25 lib/perus/server/migrations/007_create_actions.rb
perus-0.1.24 lib/perus/server/migrations/007_create_actions.rb