Sha256: c6fe38e67803ca26a397697d0fff3890cd529bfc7a59a42783aa7f22f7d98114
Contents?: true
Size: 403 Bytes
Versions: 25
Compression:
Stored size: 403 Bytes
Contents
class ChangeSipityEntitySpecificResponsibility < ActiveRecord::Migration<%= migration_version %> 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
25 entries across 25 versions & 1 rubygems