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



264
265
266
# File 'lib/ardb/cli/commands.rb', line 264

def self.command_name
  "migrate"
end

.command_summaryObject



268
269
270
# File 'lib/ardb/cli/commands.rb', line 268

def self.command_summary
  "Migrate the configured DB"
end

Instance Method Details

#migrateObject



272
273
274
# File 'lib/ardb/cli/commands.rb', line 272

def migrate
  Ardb.adapter.migrate_db
end