Sha256: 5767cbb7fe6487982e2656e88ff2551195bd6bb62f019f7a5caeb2a7bfeb1979

Contents?: true

Size: 535 Bytes

Versions: 10

Compression:

Stored size: 535 Bytes

Contents

class AddWorkflowStatusToEasyMLFeatures < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
  def change
    unless column_exists?(:easy_ml_features, :workflow_status)
      add_column :easy_ml_features, :workflow_status, :string
      add_index :easy_ml_features, :workflow_status
    end

    unless column_exists?(:easy_ml_feature_histories, :workflow_status)
      add_column :easy_ml_feature_histories, :workflow_status, :string
      add_index :easy_ml_feature_histories, :workflow_status
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
easy_ml-0.2.0.pre.rc52 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc51 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc50 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc49 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc48 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc47 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc46 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc45 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc44 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt
easy_ml-0.2.0.pre.rc43 lib/easy_ml/railtie/templates/migration/add_workflow_status_to_easy_ml_features.rb.tt