Sha256: ba07eb1b640d6c8c993b23ba281c7b78b880ad30ff2d617c06cca409b54a9a9a

Contents?: true

Size: 186 Bytes

Versions: 2

Compression:

Stored size: 186 Bytes

Contents

class <%= migration_class_name %> < <%= activerecord_migration_class %>
  def change
    create_view <%= formatted_plural_name %><%= ", materialized: true" if materialized? %>
  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/create_view.erb
scenic-1.4.0 lib/generators/scenic/view/templates/db/migrate/create_view.erb