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.8.2 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.8.1 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.8.0 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.7.0 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.11 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.10 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.8 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.7 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.6 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.5 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.4 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.3 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.2 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.6.1 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.9 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.8 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.5.0 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.7 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.6 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb
dynflow-1.4.5 lib/dynflow/persistence_adapters/sequel_migrations/006_fix_data_length.rb