diff options
author | Patrick Robertson <patricksrobertson@gmail.com> | 2013-05-07 14:07:50 -0400 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-05-12 10:55:52 +0200 |
commit | c0a12453418356a837c3f62709fac6fe948047a6 (patch) | |
tree | 0581a037d8e491c0a66b433c9ef60c5ad901b19a /actionpack/test | |
parent | 5b73405f2e78db94235de49bd2c297c60892bbcd (diff) | |
download | rails-c0a12453418356a837c3f62709fac6fe948047a6.tar.gz rails-c0a12453418356a837c3f62709fac6fe948047a6.tar.bz2 rails-c0a12453418356a837c3f62709fac6fe948047a6.zip |
Handle other pk types in PostgreSQL gracefully.
In #10410 it was noted that you can no longer create PK's with the
type of bigserial in PostgreSQL in 4.0.0.rc1. This is mostly
because the newer adapter is checking for column type with the
id column instead of just letting it pass through like it did
before.
Side effects:
You may just create a PK column of a type that you really don't
want to be your PK. As far as I can tell this was allowed in 3.2.X
and perhaps an exception should be raised if you try and do
something extremely dumb.
Diffstat (limited to 'actionpack/test')
0 files changed, 0 insertions, 0 deletions