Sha256: d717ee4adf79efce1530a4522ee57f82557e3ec52f4b043b54644a3f7654c9a1

Contents?: true

Size: 258 Bytes

Versions: 17

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

class Combustion::Databases::Oracle < Combustion::Databases::Base
  def reset
    establish_connection Rails.env.to_sym
    connection.structure_drop.split(";\n\n").each do |ddl|
      connection.execute(ddl)
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
combustion-1.5.0 lib/combustion/databases/oracle.rb
combustion-1.4.0 lib/combustion/databases/oracle.rb
combustion-1.3.7 lib/combustion/databases/oracle.rb
combustion-1.3.6 lib/combustion/databases/oracle.rb
combustion-1.3.5 lib/combustion/databases/oracle.rb
combustion-1.3.4 lib/combustion/databases/oracle.rb
combustion-1.3.3 lib/combustion/databases/oracle.rb
combustion-1.3.2 lib/combustion/databases/oracle.rb
combustion-1.3.1 lib/combustion/databases/oracle.rb
combustion-1.3.0 lib/combustion/databases/oracle.rb
combustion-1.2.0 lib/combustion/databases/oracle.rb
combustion-1.1.2 lib/combustion/databases/oracle.rb
combustion-1.1.1 lib/combustion/databases/oracle.rb
combustion-1.1.0 lib/combustion/databases/oracle.rb
combustion-1.0.0 lib/combustion/databases/oracle.rb
combustion-0.9.1 lib/combustion/databases/oracle.rb
combustion-0.9.0 lib/combustion/databases/oracle.rb