Sha256: c3690cfffde28b5b88c1a0c0aa2db33fa32aeee99260e28dbe143416b4496972
Contents?: true
Size: 515 Bytes
Versions: 24
Compression:
Stored size: 515 Bytes
Contents
class UpdateAuditLettersAuthorsToVersion3 < ActiveRecord::Migration[5.1] def change 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
Version data entries
24 entries across 24 versions & 1 rubygems