diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-26 16:00:40 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-26 16:00:40 +0900 |
commit | 9507b4f02d332cccf76ca803b967dab69ab6bfdd (patch) | |
tree | eac5a7a89279bb9bd888051f91bd37ef33618dc8 /guides/source/active_record_callbacks.md | |
parent | 87d6fb4ece170d58ad8e0a596e9fbc96a868d03b (diff) | |
download | rails-9507b4f02d332cccf76ca803b967dab69ab6bfdd.tar.gz rails-9507b4f02d332cccf76ca803b967dab69ab6bfdd.tar.bz2 rails-9507b4f02d332cccf76ca803b967dab69ab6bfdd.zip |
Make `sql_type` of primary key in SQLite to comparable with an integer (#28008)
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.
Diffstat (limited to 'guides/source/active_record_callbacks.md')
0 files changed, 0 insertions, 0 deletions