Remove sqlite specific`supports_autoincrement?` which always defaults to true
`Relation#count` doesn't use options anymore.
Stop accepting `options` for `Relation#average`, `Relation#minimum`, `Relation#maximum`, `Relation#calculate`, `perform_calculation`, `NullRelation#calculate` as they isn't used anymore.
Generate subquery for Relation passed as array condition for where

Instead of executing 2 queries for fetching records filtered by array condition with Relation,
added generation of subquery to current query.

This behaviour will be consistent when passes Relation as hash condition to where

Closes: #12415
Merge pull request #12508 from jetthoughts/12415_generate_subqueries_for_relation_from_binding_params

Generate subquery for Relation passed as array condition for where

Conflicts:
	activerecord/CHANGELOG.md
Add nodoc to method
Merge pull request #12518 from vipulnsward/remove_count_options

`Relation#count` doesn't use options anymore.
inversed instance should not be reloaded after stale state was changed

check at association reader that record is inverted and should not be reloaded because of stale was changed at target record
add inversed accessor to association class
Add a note to the changelog for #9499
newline at end of structure.sql file
Merge pull request #12486 from cjolly/newline-eof-structure-sql

newline at end of structure.sql file
Dump the default function when the primary key is uuid

Fixes #12489
Push default_function to superclass to avoid method check
Extract a function to determine if the default value is a function
cleanup changelog entry format. [ci skip]
Merge pull request #11833 from vipulnsward/remove_autoincrement

Remove sqlite specific`supports_autoincrement?` which defaults to true
Merge pull request #9499 from dmitry/inverse_instance_should_not_be_reloaded_after_stale_state_change

Inversed instance should not be reloaded after stale state was changed

Conflicts:
	activerecord/CHANGELOG.md
Remove `default_primary_key_type`  and extract contains of `native_database_types` to a constant since they aren't conditional now in SQLite3Adapter. Makes it more like other adapters.
Merge pull request #12527 from vipulnsward/sqlite_database_types

SQLite3 Adapter datatypes cleanup