Module: Doorkeeper::Models::ExpirationTimeSqlMath

Extended by:
ActiveSupport::Concern
Included in:
AccessTokenMixin
Defined in:
lib/doorkeeper/models/concerns/expiration_time_sql_math.rb

Defined Under Namespace

Modules: ClassMethods Classes: ExpirationTimeSqlGenerator, MySqlExpirationTimeSqlGenerator, OracleExpirationTimeSqlGenerator, PostgresExpirationTimeSqlGenerator, SqlLiteExpirationTimeSqlGenerator, SqlServerExpirationTimeSqlGenerator

Constant Summary collapse

ADAPTERS_MAPPING =
{
  "sqlite" => SqlLiteExpirationTimeSqlGenerator,
  "sqlite3" => SqlLiteExpirationTimeSqlGenerator,
  "postgis" => PostgresExpirationTimeSqlGenerator,
  "postgresql" => PostgresExpirationTimeSqlGenerator,
  "mysql" => MySqlExpirationTimeSqlGenerator,
  "mysql2" => MySqlExpirationTimeSqlGenerator,
  "sqlserver" => SqlServerExpirationTimeSqlGenerator,
  "oracleenhanced" => OracleExpirationTimeSqlGenerator,
}.freeze