Class: QaServer::ModelsGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/qa_server/models_generator.rb

Instance Method Summary collapse

Instance Method Details



10
11
12
# File 'lib/generators/qa_server/models_generator.rb', line 10

def banner
  say_status('info', 'INSTALLING QA_SERVER MODELS AND MIGRATIONS', :blue)
end

#copy_migrationsObject

Setup the database migrations



15
16
17
18
# File 'lib/generators/qa_server/models_generator.rb', line 15

def copy_migrations
  say_status('info', '  -- installing migrations', :blue)
  rake 'qa_server:install:migrations'
end