Methods
Included Modules
Instance Public methods
base_package()
📝 Source code
# File railties/lib/rails/generators/database.rb, line 153
def base_package
"default-mysql-client"
end
🔎 See on GitHub
build_package()
📝 Source code
# File railties/lib/rails/generators/database.rb, line 157
def build_package
"default-libmysqlclient-dev"
end
🔎 See on GitHub
feature_name()
📝 Source code
# File railties/lib/rails/generators/database.rb, line 161
def feature_name
"ghcr.io/rails/devcontainer/features/mysql-client"
end
🔎 See on GitHub
gem()
📝 Source code
# File railties/lib/rails/generators/database.rb, line 149
def gem
["mysql2", ["~> 0.5"]]
end
🔎 See on GitHub
template()
📝 Source code
# File railties/lib/rails/generators/database.rb, line 145
def template
"config/databases/mysql.yml"
end
🔎 See on GitHub