跳至内容 跳至搜索
方法
B
F
G
T
包含的模块

实例公有方法

base_package()

# File railties/lib/rails/generators/database.rb, line 153
def base_package
  "default-mysql-client"
end

build_package()

# File railties/lib/rails/generators/database.rb, line 157
def build_package
  "default-libmysqlclient-dev"
end

feature_name()

# File railties/lib/rails/generators/database.rb, line 161
def feature_name
  "ghcr.io/rails/devcontainer/features/mysql-client"
end

gem()

# File railties/lib/rails/generators/database.rb, line 149
def gem
  ["mysql2", ["~> 0.5"]]
end

template()

# File railties/lib/rails/generators/database.rb, line 145
def template
  "config/databases/mysql.yml"
end