Class: Ardb::CLI::MigrateCommand

Inherits:
Object
  • Object
show all
Includes:
MigrateCommandBehaviors
Defined in:
lib/ardb/cli/commands.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.command_nameObject



210
# File 'lib/ardb/cli/commands.rb', line 210

def self.command_name;    "migrate";                   end

.command_summaryObject



211
# File 'lib/ardb/cli/commands.rb', line 211

def self.command_summary; "Migrate the configured DB"; end

Instance Method Details

#migrateObject



213
214
215
# File 'lib/ardb/cli/commands.rb', line 213

def migrate
  Ardb.adapter.migrate_db
end