Sha256: 2e6bf8ccec4337cd6aaab2e13e869c8fe342dfe7fc1fa2a31a6a057ba5a0eeb0

Contents?: true

Size: 336 Bytes

Versions: 98

Compression:

Stored size: 336 Bytes

Contents

class CreateFnToRefreshCurrentObs < ActiveRecord::Migration[5.1]
  def up
    within_renalware_schema do
      load_function("refresh_current_observation_set_v01.sql")
    end
  end

  def down
    within_renalware_schema do
      connection.execute("drop function if exists refresh_current_observation_set(integer)")
    end
  end
end

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
renalware-core-2.0.104 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.103 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.102 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.101 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.100 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.99 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.98 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.97 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.96 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.95 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.94 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.93 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.92 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.91 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.90 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.89 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.88 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.87 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.86 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb
renalware-core-2.0.85 db/migrate/20171213111513_create_fn_to_refresh_current_obs.rb