Sha256: acad1df657643ed3470ee66a5956a91ff17303bdcd35078230e82d3c42d9d5cf

Contents?: true

Size: 366 Bytes

Versions: 28

Compression:

Stored size: 366 Bytes

Contents

Sequel.migration do
    up do
        create_table(:metrics) do
            primary_key :id
            String  :name, null: false
            Integer :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

28 entries across 28 versions & 1 rubygems

Version Path
perus-0.1.23 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.22 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.21 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.20 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.19 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.18 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.17 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.16 lib/perus/server/migrations/008_create_metrics.rb