Sha256: 9593587cd3b086a9c8b00e8b7603b48ba597cda97b85a9215f168b72c644f6e8

Contents?: true

Size: 384 Bytes

Versions: 34

Compression:

Stored size: 384 Bytes

Contents

class ChangeSipityEntitySpecificResponsibility < ActiveRecord::Migration[5.2]
  def change
    if ActiveRecord::Base.connection.adapter_name == "PostgreSQL"
      change_column :sipity_entity_specific_responsibilities, :entity_id, 'integer USING CAST(entity_id AS integer)'
    else
      change_column :sipity_entity_specific_responsibilities, :entity_id, :integer
    end
  end
end

Version data entries

34 entries across 24 versions & 1 rubygems

Version Path
hyrax-5.0.1 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.1 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.0 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.0 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.0.rc3 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.0.rc3 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.0.rc2 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.0.rc2 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.0.rc1 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-5.0.0.rc1 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-3.6.0 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-4.0.0 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-4.0.0 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-4.0.0.rc3 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-4.0.0.rc3 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-4.0.0.rc2 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-4.0.0.rc2 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-4.0.0.rc1 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-4.0.0.rc1 .koppie/db/migrate/20210911143583_change_sipity_entity_specific_responsibility.hyrax.rb
hyrax-3.5.0 .dassie/db/migrate/20200821212879_change_sipity_entity_specific_responsibility.hyrax.rb