• S
    Remove :timestamp column type · d0f8c46e
    Sean Griffin 提交于
    The `:timestamp` type for columns is unused. All database adapters treat
    them as the same database type. All code in `ActiveRecord` which changes
    its behavior based on the column's type acts the same in both cases.
    However, when the type is passed to code that checks for the `:datetime`
    type, but not `:timestamp` (such as XML serialization), the result is
    unexpected behavior.
    
    Existing schema definitions will continue to work, and the `timestamp`
    type is transparently aliased to `datetime`.
    d0f8c46e
abstract_mysql_adapter.rb 26.9 KB