Sha256: b3bb2dad25cdf1bfc7cd06970052792759a0728870ef35d4cc90ae32668ca807
Contents?: true
Size: 578 Bytes
Versions: 98
Compression:
Stored size: 578 Bytes
Contents
class UpdateAuditLettersAuthorsToVersion3 < ActiveRecord::Migration[5.1] def change within_renalware_schema do update_view :reporting_main_authors_audit, materialized: true, version: 3, revert_to_version: 2 reversible do |direction| direction.up { connection.execute("refresh materialized view reporting_main_authors_audit;") } direction.down { connection.execute("refresh materialized view reporting_main_authors_audit;") } end end end end
Version data entries
98 entries across 98 versions & 1 rubygems