Class: Rails::Generators::Database::SQLite3
Constant Summary
DATABASES
Instance Method Summary
collapse
all, build, #feature, #host, #socket, #volume
Instance Method Details
#base_package ⇒ Object
254
255
256
|
# File 'lib/rails/generators/database.rb', line 254
def base_package
"sqlite3"
end
|
#build_package ⇒ Object
258
259
260
|
# File 'lib/rails/generators/database.rb', line 258
def build_package
nil
end
|
#feature_name ⇒ Object
262
263
264
|
# File 'lib/rails/generators/database.rb', line 262
def feature_name
"ghcr.io/rails/devcontainer/features/sqlite3"
end
|
#gem ⇒ Object
250
251
252
|
# File 'lib/rails/generators/database.rb', line 250
def gem
["sqlite3", [">= 2.1"]]
end
|
#name ⇒ Object
234
235
236
|
# File 'lib/rails/generators/database.rb', line 234
def name
"sqlite3"
end
|
#port ⇒ Object
246
247
248
|
# File 'lib/rails/generators/database.rb', line 246
def port
nil
end
|
#service ⇒ Object
242
243
244
|
# File 'lib/rails/generators/database.rb', line 242
def service
nil
end
|
#template ⇒ Object
238
239
240
|
# File 'lib/rails/generators/database.rb', line 238
def template
"config/databases/sqlite3.yml"
end
|