Sha256: 3e18c5764022494e0f297134a922d1e6b3e8f60fc08cd85d326d97b5077a92bd

Contents?: true

Size: 364 Bytes

Versions: 10

Compression:

Stored size: 364 Bytes

Contents

class DropPathFromEasyMLModelFiles < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
  def change
    if column_exists?(:easy_ml_model_files, :path)
      remove_column :easy_ml_model_files, :path
    end

    if column_exists?(:easy_ml_model_file_histories, :path)
      remove_column :easy_ml_model_file_histories, :path
    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/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc51 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc50 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc49 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc48 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc47 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc46 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc45 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc44 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt
easy_ml-0.2.0.pre.rc43 lib/easy_ml/railtie/templates/migration/drop_path_from_easy_ml_model_files.rb.tt