Sha256: 39c0e576cb4c79b965b3f63164ec752e2ec62ef8c9c278e0f52e31e5be469713

Contents?: true

Size: 231 Bytes

Versions: 15

Compression:

Stored size: 231 Bytes

Contents

class ChangeAuditLogGenericFileIdToFileSetId < ActiveRecord::Migration[4.2]
  def change
    rename_column :checksum_audit_logs, :generic_file_id, :file_set_id unless ChecksumAuditLog.column_names.include?('file_set_id')
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-1.1.1 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-1.1.0 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0.rc3 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0.rc2 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0.rc1 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-1.0.5 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0.beta5 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0.beta4 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0.beta3 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0.beta2 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-2.0.0.beta1 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-1.0.4 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-1.0.3 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb
hyrax-1.0.2 db/migrate/20160328222238_change_audit_log_generic_file_id_to_file_set_id.rb