-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Updating Refinery does not change old bigint columns to int #3477
Comments
We have the same issue, some fix for this problem? in our case we don't have bigint inside schema.rb |
According to quick research, the problem is located inside activesupport gem, we are using rails 5.1.7. When it I test removing this line and it works.
Internally the method try de initialize a new BigDecimal instance but this is not a class
|
Thanks for the investigation. Do you think that we can do anything to |
Which database server is this happening with? |
Hi,
Finally found the solution to my issue, where I could not access the "Files" tab, due to this error:
The solution for me to this, is to go through the whole schema.rb, and change "bigint" columns to "integer" columns, which is not fixed by refinerycms upgrade.
So to elaborate, I had a older version of refinerycms running - upgrading to latest version 4.0.3 caused the above issue.
I think this should be fixed as a migration that changes the column types, since it is causing the issue.
Regards
The text was updated successfully, but these errors were encountered: