Class: Rails::Generators::Database::Trilogy

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

Direct Known Subclasses

MariaDBTrilogy

Constant Summary

Constants inherited from Rails::Generators::Database

DATABASES

Instance Method Summary collapse

Methods included from MySQL

#host, #name, #port, #service, #socket

Methods inherited from Rails::Generators::Database

all, build, #feature, #host, #name, #port, #service, #socket, #volume

Instance Method Details

#base_packageObject



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

def base_package
  nil
end

#build_packageObject



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

def build_package
  nil
end

#feature_nameObject



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

def feature_name
  nil
end

#gemObject



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

def gem
  ["trilogy", ["~> 2.7"]]
end

#templateObject



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

def template
  "config/databases/trilogy.yml"
end