Sha256: 13893a602d9808d16b7182787e83e429216160b810ef0912609026551ad02c60

Contents?: true

Size: 209 Bytes

Versions: 68

Compression:

Stored size: 209 Bytes

Contents

class ChangeCollectionIdsOnEntries < ActiveRecord::Migration[5.1]
  def change
    rename_column :bulkrax_entries, :collection_id, :collection_ids if column_exists?(:bulkrax_entries, :collection_id)
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
bulkrax-9.0.2 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-9.0.1 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-9.0.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-8.2.3 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-8.2.2 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-8.3.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-8.2.1 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-8.2.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-8.1.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-8.0.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-7.0.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-5.5.1 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-5.4.2 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-5.3.1 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-6.0.1 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-6.0.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-5.5.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-5.4.1 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-5.4.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb
bulkrax-5.3.0 db/migrate/20190715162044_change_collection_ids_on_entries.rb