Skip to content

Commit 8502bea

Browse files
dhasani23David Hasanirli
authored
fix(amazonq): allow postgresql as target DB (#5209)
* fix(amazonq): allow postgresql as target DB * fix typo * Update .changes/next-release/bugfix-8ccd7b78-550a-42c5-ab9c-151977ff6e96.json Co-authored-by: Richard Li <742829+rli@users.noreply.github.com> --------- Co-authored-by: David Hasani <davhasan@amazon.com> Co-authored-by: Richard Li <742829+rli@users.noreply.github.com>
1 parent 47caaf8 commit 8502bea

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q Code Transformation: allow PostgreSQL as target DB for SQL conversions"
4+
}

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/model/CodeModernizerSessionContext.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const val INVALID_SUFFIX_SHA = "sha1"
5858
const val INVALID_SUFFIX_REPOSITORIES = "repositories"
5959
const val ORACLE_DB = "ORACLE"
6060
const val AURORA_DB = "AURORA_POSTGRESQL"
61-
const val RDS_DB = "RDS_POSTGRESQL"
61+
const val RDS_DB = "POSTGRESQL"
6262
data class CodeModernizerSessionContext(
6363
val project: Project,
6464
var configurationFile: VirtualFile? = null, // used to ZIP module

0 commit comments

Comments
 (0)