diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-06-06 15:53:33 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-06-06 15:53:33 +0200 |
commit | 8fa8b7124b4a28591c47883199f9d6bdd77a827e (patch) | |
tree | bed981ca043f7fa5c69c110c141433fe7ab5e384 /actionmailer | |
parent | d23cbbb3ee8f49441873b713ee0255c22895e332 (diff) | |
download | rails-8fa8b7124b4a28591c47883199f9d6bdd77a827e.tar.gz rails-8fa8b7124b4a28591c47883199f9d6bdd77a827e.tar.bz2 rails-8fa8b7124b4a28591c47883199f9d6bdd77a827e.zip |
`ActiveRecord::SchemaMigration` has no primary key.
Before this patch, using `ActiveRecord::Base.primary_key_prefix_type`
with `:table_name_with_underscore` would change the `SchemaMigration` model
to have a primary key. This resulted in broken queries for PG because it tried
to return the inserted PK (which does not exist).
Closes #15051.
Closes #15419.
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions