-
Notifications
You must be signed in to change notification settings - Fork 21.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
Check constraints in migration not adding constraint in schema.rb #48075
Comments
Was able to reproduce on |
@fatkodima thank you for looking into this. Would you mind checking 7-0-stable as well? Just want to make sure its been backported if possible |
Just checked - works as expected on that too. |
Perfect, I'm going to close then! As suggested the solution will be to upgrade to 7.0 since 6.1 is not receiving bug fixes. |
This issue seems to be fixed on this pull request: Since I cannot upgrade to newer version at the moment, I fixed by monkey patching the particular function. |
Steps to reproduce
This is a migration file
When I run this migration, it is adding this line on schema.rb
So when I run
rake db:schema:load
, it is throwing the error below:On db:migrate, it was suppose to add the line below in schema.rb:
System configuration
Rails version:
6.1.3.2
Ruby version:
3.2
The text was updated successfully, but these errors were encountered: