mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
267489a103
PostgreSQL: Fix db:structure:load silent failure on SQL error
961 B
961 B
-
Ensure hashes can be assigned to attributes created using
composed_of
. Fixes #25210.Sean Griffin
-
Fix logging edge case where if an attribute was of the binary type and was provided as a Hash.
Jon Moss
-
Handle JSON deserialization correctly if the column default from database adapter returns
''
instead ofnil
.Johannes Opper
-
Introduce ActiveRecord::TransactionSerializationError for catching transaction serialization failures or deadlocks.
Erol Fornoles
-
PostgreSQL: Fix db:structure:load silent failure on SQL error
The command line flag "-v ON_ERROR_STOP=1" should be used when invoking psql to make sure errors are not suppressed.
Example:
psql -v ON_ERROR_STOP=1 -q -f awesome-file.sql my-app-db
Fixes #23818.
Ralin Chimev
Please check 5-0-stable for previous changes.