Sha256: 5b1d255b4a4d4464f7e4c3450cf2cdad7ffefcb8d8d5028dab746d93fa7fcc17
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
class <%= migration_class_name %> < <%= activerecord_migration_class %> def change <%- if materialized? -%> update_view <%= formatted_plural_name %>, version: <%= version %>, revert_to_version: <%= previous_version %>, materialized: true <%- else -%> update_view <%= formatted_plural_name %>, version: <%= version %>, revert_to_version: <%= previous_version %> <%- end -%> end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scenic-1.4.1 | lib/generators/scenic/view/templates/db/migrate/update_view.erb |
scenic-1.4.0 | lib/generators/scenic/view/templates/db/migrate/update_view.erb |