Class: Rails::Generators::Database::SQLite3

Inherits:
Rails::Generators::Database show all
Defined in:
lib/rails/generators/database.rb

Constant Summary

Constants inherited from Rails::Generators::Database

DATABASES

Instance Method Summary collapse

Methods inherited from Rails::Generators::Database

all, build, #feature, #host, #socket, #volume

Instance Method Details

#base_packageObject



229
230
231
# File 'lib/rails/generators/database.rb', line 229

def base_package
  "sqlite3"
end

#build_packageObject



233
234
235
# File 'lib/rails/generators/database.rb', line 233

def build_package
  nil
end

#feature_nameObject



237
238
239
# File 'lib/rails/generators/database.rb', line 237

def feature_name
  "ghcr.io/rails/devcontainer/features/sqlite3"
end

#gemObject



225
226
227
# File 'lib/rails/generators/database.rb', line 225

def gem
  ["sqlite3", [">= 1.4"]]
end

#nameObject



213
214
215
# File 'lib/rails/generators/database.rb', line 213

def name
  "sqlite3"
end

#portObject



221
222
223
# File 'lib/rails/generators/database.rb', line 221

def port
  nil
end

#serviceObject



217
218
219
# File 'lib/rails/generators/database.rb', line 217

def service
  nil
end