method

create

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: PostgreSQLDatabaseTasks
create(connection_already_established = false) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/tasks/postgresql_database_tasks.rb, line 21
      def create(connection_already_established = false)
        establish_connection(public_schema_config) unless connection_already_established
        connection.create_database(db_config.database, configuration_hash.merge(encoding: encoding))
        establish_connection
      end
Register or log in to add new notes.