Closed webbkyr closed 3 years ago
After merging/pulling: bundle rails db:setup
bundle
rails db:setup
If you see some error about user "postgres" doesn't exist OR user "YOUR_USER" doesn't exist, run createdb postgres or createdb YOUR_USER.
user "YOUR_USER" doesn't exist
createdb postgres
createdb YOUR_USER
psql -c shelter_assist_development then \d to inspect the tables locally.
psql -c shelter_assist_development
\d
After merging/pulling:
bundle
rails db:setup
If you see some error about user "postgres" doesn't exist OR
user "YOUR_USER" doesn't exist
, runcreatedb postgres
orcreatedb YOUR_USER
.psql -c shelter_assist_development
then\d
to inspect the tables locally.