Sha256: 88d4b1f79cd951a44cade0f7599ef27d380cbf21c1f4f9689abafe05984c5437

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

Sequel.migration do
  up do
    alter_table(:dynflow_steps) do
      if @db.database_type == :mysql
        set_column_type :data, :mediumtext
      end
    end
  end

  down do
    alter_table(:dynflow_steps) do
      if @db.database_type == :mysql
        set_column_type :data, :text
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dynflow-1.9.0 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.8.3 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb