diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-13 13:31:37 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-08-13 13:40:39 +0900 |
commit | 4966b36d4c6850722d9526dda9110df6c5656a26 (patch) | |
tree | aed3078981aec5d372dfb12b4966828c6493d970 /guides/w3c_validator.rb | |
parent | e3962308e7947f3d99c70c192e2d1356d3420e1e (diff) | |
download | rails-4966b36d4c6850722d9526dda9110df6c5656a26.tar.gz rails-4966b36d4c6850722d9526dda9110df6c5656a26.tar.bz2 rails-4966b36d4c6850722d9526dda9110df6c5656a26.zip |
Use `references` to respect primary key type in active storage tables
If created active storage tables by mysql2 or postgresql adapters, a
primary key is defined as a bigint. It should be used `references` to
the reference columns to respect primary key type.
Diffstat (limited to 'guides/w3c_validator.rb')
0 files changed, 0 insertions, 0 deletions