Sha256: cb62bc5f61dbd232c93ed91990f88e667f761f92d69e8985c7d4ef26a08d6a3e

Contents?: true

Size: 181 Bytes

Versions: 4

Compression:

Stored size: 181 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

4 entries across 4 versions & 1 rubygems

Version Path
temporal_tables-0.8.1 spec/support/database.rb
temporal_tables-0.8.0 spec/support/database.rb
temporal_tables-0.7.1 spec/support/database.rb
temporal_tables-0.7.0 spec/support/database.rb