-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New install error: relation "heya_steps" does not exist #145
Comments
@acallaghan hey thanks for the bug report. We use some magic to make the https://github.com/honeybadger-io/heya/blob/master/lib/heya/active_record_extension.rb Can you check to see if that extension is being loaded? You can use |
Ah, it could be that I'm using the Apartment gem for multi-tenant schemas, I think the two are conflicting - the "public"."heya_campaign_memberships" table in the public schema, but the "heya_steps" table is being defined without a schema. I think this is it anyway. I might come back to this gem once I've removed Apartment, as I'm pretty sure that's the cause Thanks anyway |
Hi @joshuap! Just a heads up on this old issue. It looks like if you try to set up campaigns in subdirectories of the |
@kimili thanks! I created a new issue to remind myself to investigate this when I have the time. 😁 |
Hey there, I've been integrating Heya with our app, and came across this issue. I have added the gem and run the installation commands and migration. I then setup my first campaign.
However, when I run the campaign scheduling rake task, I get this error:
A
--trace
led me to the lines:It looks like these files are referring to a table called
heya_steps
, and referenced in a few places like:This table isn't in the generator for the installation migration, so not sure where this should come from? Any ideas would be welcome!
I'm using Rails 6.1, Ruby 3.0.1 and postrges 13.3
Thanks in advance,
Andy
The text was updated successfully, but these errors were encountered: