-
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
schema dumper tests now conducted by ActiveRecord::Base.Connection #9204
Conversation
Updated patch looks good, but I don't think it requires releasing the Kraken just yet :) commit da19327 introduced a change that isn't otherwise used here. |
👍 |
👾 |
Please make sure you squash the commits :). |
How do I squash the commits? |
I think this post from @steveklabnik might help :) |
@carlosantoniodasilva I think I have squashed the commits. |
It still says there are 11: https://github.com/rails/rails/pull/9204/commits Did you force push to the branch successfully? |
I believe that the commits have now been successfully squashed here as well. |
schema dumper tests now conducted by ActiveRecord::Base.Connection
This change impacts the ability to create a db/schema.rb file. See: |
Yes, seeing same error here. |
I didn't draw the connection at the time, but I'm seeing lots of errors as a result of this: http://intertwingly.net/projects/AWDwR4/checkdepot/ All go away if |
I just moved them to public methods. Running additional tests now. |
Hi @ranjaykrishna, I have reverted this commit because it introduced caused a failing test. I have also reverted the commit by @rubys as it relates solely to this commit. Please fix up the test and send a new PR incorporating the commit by @rubys also. |
We abstracted the test for valid data types from databases from the schema dumper to Connection. We set it so that sqlite would approve all values. However, you can not create arbitrary types in sqlite as it still checks against its native_database_types.