Skip to content
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

Make sql_type of primary key in SQLite to comparable with an integer #28008

Merged
merged 1 commit into from
Dec 26, 2017

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented Feb 14, 2017

Originally I tried to add assert_equal pk.sql_type, ref.sql_type. But
the assert failed even though the same type due to sql_type of primary
key in SQLite is upper case. Prefer lower case like other types.

Originally I tried to add `assert_equal pk.sql_type, ref.sql_type`. But
the assert failed even though the same type due to `sql_type` of primary
key in SQLite is upper case. Prefer lower case like other types.
@kamipo kamipo merged commit 9507b4f into rails:master Dec 26, 2017
@kamipo kamipo deleted the comparable_pk_sql_type branch December 26, 2017 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants