- BIGINT PK support. rails/rails#26266
- Raise
ActiveRecord::NotNullViolation
when a record cannot be inserted or updated because it would violate a not null constraint. - Raise
ActiveRecord::RangeError
when values that executed are out of range. - Allow passing extra flags to
db:structure:load
anddb:structure:dump
IntroducesActiveRecord::Tasks::DatabaseTasks.structure_(load|dump)_flags
to customize the eventual commands run against the database, e.g. mysqldump/pg_dump. - Set
:time
as a timezone aware type and remove deprecation whenconfig.active_record.time_zone_aware_types
is not explicitly set. - Remove deprecated support to passing a column to
#quote
. #tables
and#table_exists?
return only tables and not views. All the deprecations on those methods were removed.- Remove deprecated
original_exception
argument inActiveRecord::StatementInvalid#initialize
andActiveRecord::StatementInvalid#original_exception
. - Remove deprecated tasks:
db:test:clone
,db:test:clone_schema
,db:test:clone_structure
. - Make
table_name=
reset current statement cache, so queries are not run against the previous table name. - Deprecate using
#quoted_id
in quoting. - Deprecate
supports_migrations?
on connection adapters. - Dig moving
Column#sqlserver_options
tosql_type_metadata
delegate. - Should we do like PG and add
options[:collation]
before#add_column_options!
? - Translated exceptions:
SerializationFailure
andRangeError
.