Sha256: d2b19441a59ef203ccb2bdac27767cb632e27a6f401f2dc46ee5920f21541210

Contents?: true

Size: 251 Bytes

Versions: 9

Compression:

Stored size: 251 Bytes

Contents

# frozen_string_literal: true

class Combustion::Databases::SQLServer < Combustion::Databases::Base
  def reset
    establish_connection configuration.merge("database" => "master")
    connection.recreate_database! configuration["database"]
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
combustion-1.3.0 lib/combustion/databases/sql_server.rb
combustion-1.2.0 lib/combustion/databases/sql_server.rb
combustion-1.1.2 lib/combustion/databases/sql_server.rb
combustion-1.1.1 lib/combustion/databases/sql_server.rb
combustion-1.1.0 lib/combustion/databases/sql_server.rb
combustion-1.0.0 lib/combustion/databases/sql_server.rb
combustion-0.9.1 lib/combustion/databases/sql_server.rb
combustion-0.9.0 lib/combustion/databases/sql_server.rb
combustion-0.8.0 lib/combustion/databases/sql_server.rb