Class: CIHelper::Commands::CheckDBDevelopment

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/ci_helper/commands/check_db_development.rb

Instance Method Summary collapse

Methods inherited from BaseCommand

call!, #execute, #execute_with_env, #initialize, process_stdout

Constructor Details

This class inherits a constructor from CIHelper::Commands::BaseCommand

Instance Method Details

#callObject



6
7
8
9
10
11
# File 'lib/ci_helper/commands/check_db_development.rb', line 6

def call
  create_and_migrate_database!
  execute("bundle exec rake db:seed")
  create_and_migrate_clickhouse_database! if with_clickhouse?
  0
end