Method: ActiveRecord::Tasks::MySQLDatabaseTasks#drop

Defined in:
lib/active_record/tasks/mysql_database_tasks.rb

#dropObject



25
26
27
28
# File 'lib/active_record/tasks/mysql_database_tasks.rb', line 25

def drop
  establish_connection(db_config)
  connection.drop_database(db_config.database)
end