mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
59d54b350d
commit
2d7ff70b3f
1 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Previously advisory locks were taken out against a connection when a migration started. This works fine in single database applications but doesn't work well when migrations need to open new connections which results in the lock getting dropped.
|
Previously advisory locks were taken out against a connection when a migration started. This works fine in single database applications but doesn't work well when migrations need to open new connections which results in the lock getting dropped.
|
||||||
|
|
||||||
In order to fix this we are storing the advisory lock on a new connection with the connection specification name `AdisoryLockBase`. The caveat is that we need to maintain at least 2 connections to a database while migrations are running in order to do this.
|
In order to fix this we are storing the advisory lock on a new connection with the connection specification name `AdvisoryLockBase`. The caveat is that we need to maintain at least 2 connections to a database while migrations are running in order to do this.
|
||||||
|
|
||||||
*Eileen M. Uchitelle*, *John Crepezzi*
|
*Eileen M. Uchitelle*, *John Crepezzi*
|
||||||
|
|
||||||
|
@ -29,7 +29,8 @@
|
||||||
* Deprecate `#default_hash` and it's alias `#[]` on database configurations
|
* Deprecate `#default_hash` and it's alias `#[]` on database configurations
|
||||||
|
|
||||||
Applications should use `configs_for`. `#default_hash` and `#[]` will be removed in 6.2.
|
Applications should use `configs_for`. `#default_hash` and `#[]` will be removed in 6.2.
|
||||||
=======
|
|
||||||
|
*Eileen M. Uchitelle*, *John Crepezzi*
|
||||||
|
|
||||||
* Add scale support to `ActiveRecord::Validations::NumericalityValidator`.
|
* Add scale support to `ActiveRecord::Validations::NumericalityValidator`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue