vagrant=# select * from pg_user;
usename | usesysid | usecreatedb | usesuper | usecatupd | userepl | passwd |
----------+----------+-------------+----------+-----------+---------+----------+
postgres | 10 | t | t | t | t | ******** |
vagrant | 16384 | t | f | f | f | ******** |
(2 rows)
After
vagrant=# select * from pg_user;
usename | usesysid | usecreatedb | usesuper | usecatupd | userepl | passwd |
----------+----------+-------------+----------+-----------+---------+----------+
postgres | 10 | t | t | t | t | ******** |
vagrant | 16384 | t | t | t | f | ******** |
(2 rows)
Why?
I'm working on a Rails 3.x.x project which uses the hstore extension.
The extension installs correctly on the development database, but when I try to run rake db:test:prepare the hstore extension can't be installed on the test database due to lack of permissions for the Vagrant Postgres user.
Before
After
Why?
I'm working on a Rails 3.x.x project which uses the hstore extension. The extension installs correctly on the
development
database, but when I try to runrake db:test:prepare
the hstore extension can't be installed on thetest
database due to lack of permissions for the Vagrant Postgres user.