Sha256: 83b9751ea9164407fb2d305ce8406cde5d5e83646cf2b2fe67d8ef5134073877

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

Sequel.migration do
    up do
        execute("ALTER TABLE values ALTER COLUMN timestamp TYPE bigint")
        execute("ALTER TABLE errors ALTER COLUMN timestamp TYPE bigint")
        execute("ALTER TABLE actions ALTER COLUMN timestamp TYPE bigint")
        execute("ALTER TABLE active_alerts ALTER COLUMN timestamp TYPE bigint")
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
perus-1.0.4 lib/perus/server/migrations/016_values_use_bigint.rb