Closed matgaw closed 1 year ago
RESOLVED:
Turns out that heroku is adding all new database extensions to heroku_ext
schema. I had to add the following to my database.yml
:
schema_search_path: public,heroku_ext
Not really related with logidze itself.
Tell us about your environment
**Ruby Version:2.7.6
**Rails Version:5.2.6
**PostgreSQL Version:13.9
**Logidze Version:1.2.2
What did you do?
I have logidze set up properly on my local development environment. However, when I deployed this to heroku, I get the following error on every update of a model:
where MY_MODEL_NAME is name of my class.
I am sure that hstore extension is enabled, and things like this work in the database:
select hstore(row(1,2));
Also all migrations are run, including logidze_install and enabling hstore.
Any help?