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-1.0.7 lib/perus/server/migrations/008_create_metrics.rb
perus-1.0.6 lib/perus/server/migrations/008_create_metrics.rb
perus-1.0.5 lib/perus/server/migrations/008_create_metrics.rb
perus-1.0.4 lib/perus/server/migrations/008_create_metrics.rb
perus-1.0.3 lib/perus/server/migrations/008_create_metrics.rb
perus-1.0.2 lib/perus/server/migrations/008_create_metrics.rb
perus-1.0.1 lib/perus/server/migrations/008_create_metrics.rb
perus-1.0.0 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.35 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.34 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.33 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.32 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.31 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.30 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.29 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.28 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.27 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.26 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.25 lib/perus/server/migrations/008_create_metrics.rb
perus-0.1.24 lib/perus/server/migrations/008_create_metrics.rb