Sha256: 8dde2d2d081ae9cd74a71bb3dbc5908266a852a800a068283f569cb34266908e

Contents?: true

Size: 249 Bytes

Versions: 9

Compression:

Stored size: 249 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.5.0 lib/combustion/databases/sql_server.rb
combustion-1.4.0 lib/combustion/databases/sql_server.rb
combustion-1.3.7 lib/combustion/databases/sql_server.rb
combustion-1.3.6 lib/combustion/databases/sql_server.rb
combustion-1.3.5 lib/combustion/databases/sql_server.rb
combustion-1.3.4 lib/combustion/databases/sql_server.rb
combustion-1.3.3 lib/combustion/databases/sql_server.rb
combustion-1.3.2 lib/combustion/databases/sql_server.rb
combustion-1.3.1 lib/combustion/databases/sql_server.rb