Skip to content

Instantly share code, notes, and snippets.

@dgorodnichy
Last active May 13, 2024 16:40
Show Gist options
  • Save dgorodnichy/35191fc03e0a3c097f1f3d2927ffd4a3 to your computer and use it in GitHub Desktop.
Save dgorodnichy/35191fc03e0a3c097f1f3d2927ffd4a3 to your computer and use it in GitHub Desktop.
class CreateFilmRatings < ActiveRecord::Migration[6.0]
def change
create_view :film_ratings, materialized: true
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment