mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add :nodoc:
to insert_versions_sql
[ci skip]
Follow up to #24685. `insert_versions_sql` is not public API.
This commit is contained in:
parent
39f1dac9a5
commit
5394f2cde8
2 changed files with 2 additions and 2 deletions
|
@ -989,7 +989,7 @@ module ActiveRecord
|
||||||
insert_versions_sql(versions)
|
insert_versions_sql(versions)
|
||||||
end
|
end
|
||||||
|
|
||||||
def insert_versions_sql(versions)
|
def insert_versions_sql(versions) # :nodoc:
|
||||||
sm_table = ActiveRecord::Migrator.schema_migrations_table_name
|
sm_table = ActiveRecord::Migrator.schema_migrations_table_name
|
||||||
|
|
||||||
if supports_multi_insert?
|
if supports_multi_insert?
|
||||||
|
|
|
@ -298,7 +298,7 @@ module ActiveRecord
|
||||||
false
|
false
|
||||||
end
|
end
|
||||||
|
|
||||||
# Does this adapter support multi-value insert
|
# Does this adapter support multi-value insert?
|
||||||
def supports_multi_insert?
|
def supports_multi_insert?
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue