Sha256: a962e4a360f3d0f2193eeb4df235a137a3eacaab1342d4458f159eb65f922d33
Contents?: true
Size: 556 Bytes
Versions: 98
Compression:
Stored size: 556 Bytes
Contents
class CreateTriggerToUpdateCurrentObservationSets < ActiveRecord::Migration[5.1] def up within_renalware_schema do load_function("update_current_observation_set_from_trigger_v01.sql") load_trigger("update_current_observation_set_trigger_v01.sql") end end def down within_renalware_schema do connection.execute( "DROP TRIGGER IF EXISTS update_current_observation_set_trigger ON pathology_observations; "\ "DROP FUNCTION IF EXISTS update_current_observation_set_from_trigger();" ) end end end
Version data entries
98 entries across 98 versions & 1 rubygems