Sha256: d0f389c0b563e85225804d1ff7383dd756a7753348a126db68ecf124e697bfcf

Contents?: true

Size: 167 Bytes

Versions: 8

Compression:

Stored size: 167 Bytes

Contents

module TemporalTables::DatabaseAdapter
	def self.adapter_name
		if Gemika::Env.gem?('pg')
			"postgresql"
		elsif Gemika::Env.gem?('mysql2')
			"mysql"
		end
	end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
temporal_tables-0.6.10 spec/support/database.rb
temporal_tables-0.6.9 spec/support/database.rb
temporal_tables-0.6.7 spec/support/database.rb
temporal_tables-0.6.6 spec/support/database.rb
temporal_tables-0.6.4 spec/support/database.rb
temporal_tables-0.6.3 spec/support/database.rb
temporal_tables-0.6.2 spec/support/database.rb
temporal_tables-0.6.1 spec/support/database.rb