method
deploy_package_for_database
v7.1.3.2 -
Show latest stable
- Class:
Rails::Generators::Database
deploy_package_for_database(database = options[:database])public
No documentation available.
# File railties/lib/rails/generators/database.rb, line 70
def deploy_package_for_database(database = options[:database])
case database
when "mysql" then "default-mysql-client"
when "postgresql" then "postgresql-client"
when "sqlite3" then "libsqlite3-0"
else nil
end
end