method

create_current

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: DatabaseTasks
create_current(environment = env, name = nil) 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/database_tasks.rb, line 170
      def create_current(environment = env, name = nil)
        each_current_configuration(environment, name) { |db_config| create(db_config) }

        migration_class.establish_connection(environment.to_sym)
      end
Register or log in to add new notes.