Sha256: 078cf05ad63a62eec7c88d59d1ffefa96da8c3eca70549274ef11f7bcff0b3a7

Contents?: true

Size: 366 Bytes

Versions: 16

Compression:

Stored size: 366 Bytes

Contents

Sequel.migration do
    up do
        create_table(:metrics) do
            primary_key :id
            String  :name, null: false
            String  :system_id, null: false
            String  :type, null: false
            String  :file, text: true
            index   [:system_id, :name]
        end
    end

    down do
        drop_table(:metrics)
    end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
perus-0.1.15 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.14 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.13 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.12 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.11 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.10 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.9 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.8 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.7 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.6 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.5 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.4 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.3 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.2 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.1 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.0 lib/perus/server/migrations/008_create_metrics.rb