Class: Combustion::Databases::SQLServer

Inherits:
Base
  • Object
show all
Defined in:
lib/combustion/databases/sql_server.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Combustion::Databases::Base

Instance Method Details

#resetObject


4
5
6
7
# File 'lib/combustion/databases/sql_server.rb', line 4

def reset
  establish_connection configuration.merge("database" => "master")
  connection.recreate_database! configuration["database"]
end