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