Sha256: 845e3c0a12d5c400acd604a822982050fef4e37be8de7e12f0becd899e886fc5

Contents?: true

Size: 598 Bytes

Versions: 2

Compression:

Stored size: 598 Bytes

Contents

# frozen_string_literal: true

Sequel.migration do
  change do
    alter_table(:dynflow_execution_plans) do
      long_text_type = @db.database_type == :mysql ? :mediumtext : String

      add_column :class, String

      add_column :run_flow, long_text_type
      add_column :finalize_flow, long_text_type
      add_column :execution_history, long_text_type

      # These could be removed in the future because an action can have at most one of each
      #   and each belongs to an action
      add_column :root_plan_step_id, Integer
      add_column :step_ids, long_text_type
    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/015_add_execution_plan_columns.rb
dynflow-1.8.3 lib/dynflow/persistence_adapters/sequel_migrations/015_add_execution_plan_columns.rb