method

update_database_yml

update_database_yml()
public

No documentation available.

# File railties/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb, line 54
      def update_database_yml
        # Only postgresql has devcontainer specific configuration, so only update database.yml if we are using postgres
        return unless options[:database] == "postgresql"

        template("config/databases/#{options[:database]}.yml", "config/database.yml")
      end