Sha256: 1dd475fcce27a6c8c6ea8afbb58d11639e99a7699fc344fac3f32b49b698cae0
Contents?: true
Size: 596 Bytes
Versions: 25
Compression:
Stored size: 596 Bytes
Contents
# frozen_string_literal: true Sequel.migration do affected_tables = [:dynflow_actions, :dynflow_coordinator_records, :dynflow_delayed_plans, :dynflow_envelopes, :dynflow_execution_plans] up do affected_tables.each do |table| alter_table(table) do if @db.database_type == :mysql set_column_type :data, :mediumtext end end end end down do affected_tables.each do |table| alter_table(table) do if @db.database_type == :mysql set_column_type :data, :text end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems