From 4b5a3b283f3b32cbd7be2dffa7db273345215d82 Mon Sep 17 00:00:00 2001 From: jclausen Date: Thu, 19 Sep 2024 13:13:11 -0400 Subject: [PATCH] COLDBOX-1293 Resolve --- system/core/database/SchemaInfo.cfc | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/system/core/database/SchemaInfo.cfc b/system/core/database/SchemaInfo.cfc index 92ad1ca02..8964a8085 100644 --- a/system/core/database/SchemaInfo.cfc +++ b/system/core/database/SchemaInfo.cfc @@ -194,30 +194,14 @@ component singleton { * @dsn The datasource name * @username The username to use * @password The password to use + * @deprecated There are no longer any instances where this would be different between engines. Deprecate in 7.x and remove in 8x. */ public string function getQueryParamDateTimeType( required string dsn, username = "", password = "" ){ - var dbInfo = getDatabaseInfo( argumentCollection = arguments ); - switch ( dbInfo.database_productName ) { - case "PostgreSQL": { - return "cf_sql_timestamp"; - } - case "MySQL": { - return "cf_sql_timestamp"; - } - case "Microsoft SQL Server": { - return "cf_sql_datetime"; - } - case "Oracle": { - return "cf_sql_timestamp"; - } - default: { - return "cf_sql_timestamp"; - } - } + return "cf_sql_timestamp"; } }