Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REFRESH MATERIALIZED VIEW after db:create db:migrate #2835

Open
besendorf opened this issue Jun 17, 2021 · 0 comments
Open

REFRESH MATERIALIZED VIEW after db:create db:migrate #2835

besendorf opened this issue Jun 17, 2021 · 0 comments

Comments

@besendorf
Copy link

When following the instruction at https://github.com/librariesio/libraries.io/blob/main/docs/development-setup.md
you receive an error after executing irb> PackageManager::NPM.update "pictogram" that the materialized views need to be refreshed.
This can be done with REFRESH MATERIALIZED VIEW public.project_dependent_repositories WITH DATA;
I think this should be done automatically in db:create or db:migrate alternatively this should be added to the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant