This method is deprecated or moved on the latest stable version.
The last existing version (v2.0.3) is shown here.
initialize_schema_information()
public
Should not be called normally, but this operation is non-destructive. The
migrations module handles this automatically.
# File activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb, line 235
def initialize_schema_information
begin
execute "CREATE TABLE #{quote_table_name(ActiveRecord::Migrator.schema_info_table_name)} (version #{type_to_sql(:integer)})"
execute "INSERT INTO #{quote_table_name(ActiveRecord::Migrator.schema_info_table_name)} (version) VALUES(0)"
rescue ActiveRecord::StatementInvalid
# Schema has been initialized
end
end