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