libraries.io icon indicating copy to clipboard operation
libraries.io copied to clipboard

REFRESH MATERIALIZED VIEW after db:create db:migrate

Open besendorf opened this issue 3 years ago • 0 comments

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.

besendorf avatar Jun 17 '21 08:06 besendorf