method
initialize_schema_migrations_table
Ruby on Rails latest stable (v7.1.3.2)
-
0 notes -
Class: Mysql2Adapter
initialize_schema_migrations_table()
public
Hide source
# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 41 def initialize_schema_migrations_table if charset == 'utf8mb4' ActiveRecord::SchemaMigration.create_table(MAX_INDEX_LENGTH_FOR_UTF8MB4) else ActiveRecord::SchemaMigration.create_table end end