Sha256: 155ffc658be321c42d1dce4ecdcf2f0399c22ff6e7aba3d7abb2cab25648751e

Contents?: true

Size: 431 Bytes

Versions: 2

Compression:

Stored size: 431 Bytes

Contents

# frozen_string_literal: true

Sequel.migration do
  change do
    alter_table(:dynflow_steps) do
      add_column :class, String
      add_column :error, @db.database_type == :mysql ? :mediumtext : String

      # 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 :action_class, String
      add_column :children, String
    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/014_add_step_columns.rb
dynflow-1.8.3 lib/dynflow/persistence_adapters/sequel_migrations/014_add_step_columns.rb