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