Shopify/lhm

The migration is completed, but temporary tables and triggers are not created.

Closed this issue · 4 comments

When I used soundcloud/lhm, I checked that temporary tables and triggers were created,
but when I used that fork, temporary tables and triggers were not created.

Migration

image

In Progress

image

After

image

Is there anything I missed?
I need your help.

I've noticed that in "development" mode it doesn't seem to create the tables, but this seems to work on my staging environment with the tables, not sure if that is expected or not.

Yup, found a PR that does imply this is expected behaviour -> #94

Would be nice if this was optional somehow. I'm trying to test complicated filtering behaviour and it doesn't run in dev mode for me. I should be able to work around it by faking a staging environment.

I commented out this line in my local copy of the gem so I could test fully in development environment
https://github.com/Shopify/lhm/blob/master/lib/lhm/railtie.rb#L5

thx for your comments. i understood 😀