Sha256: 04ac32c31080506b01ede88ba3c608a83fe2964bb68d59ae67e0d3ecc6c8dbaf

Contents?: true

Size: 345 Bytes

Versions: 25

Compression:

Stored size: 345 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

25 entries across 25 versions & 1 rubygems

Version Path
dynflow-1.4.4 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.3 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.2 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.1 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.0 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb