aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 16514d5c4..c8dbf97ba 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -68,3 +68,12 @@ Get yourself an invitation to [Stif Portail](http://stif-portail-dev.af83.priv/)
on your [profile page](http://stif-portail-dev.af83.priv/users/edit)
+# Troubleshouting
+
+If PG complains about illegal type `hstore` in your tests that is probably because the shared extension is not installed, here is waht to do:
+
+ bundle exec rake db:schema:dump # if not up to date
+
+ RAILS_ENV=test bundle exec rake db:drop
+ RAILS_ENV=test bundle exec rake db:create
+ RAILS_ENV=test bundle exec rake db:schema:load