From 4b13e48481c58b34be50e387333595851e310593 Mon Sep 17 00:00:00 2001 From: Patrice Bender Date: Tue, 3 Feb 2026 17:03:23 +0100 Subject: [PATCH 1/2] feat: provide `postgres` profile this does the same as the already existing `pg` profile. People can provide their service credentials and just do a `cds deploy --profile postgres` which is symmetrical to the `cds deploy --profile sqlite` --- postgres/package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/postgres/package.json b/postgres/package.json index e683bb822..99bbc6986 100644 --- a/postgres/package.json +++ b/postgres/package.json @@ -55,6 +55,16 @@ "password": "postgres", "database": "postgres" } + }, + "[postgres!]": { + "kind": "postgres", + "credentials": { + "host": "localhost", + "port": 5432, + "user": "postgres", + "password": "postgres", + "database": "postgres" + } } }, "postgres": { From 9af117b4a36f3fdba20e2f250ec611ff08ca54f2 Mon Sep 17 00:00:00 2001 From: Patrice Bender Date: Tue, 17 Feb 2026 17:20:23 +0100 Subject: [PATCH 2/2] review comment --- postgres/package.json | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/postgres/package.json b/postgres/package.json index 99bbc6986..7b7d6be3a 100644 --- a/postgres/package.json +++ b/postgres/package.json @@ -46,7 +46,7 @@ "[production]": { "kind": "postgres" }, - "[pg!]": { + "[development]": { "kind": "postgres", "credentials": { "host": "localhost", @@ -56,15 +56,11 @@ "database": "postgres" } }, - "[postgres!]": { - "kind": "postgres", - "credentials": { - "host": "localhost", - "port": 5432, - "user": "postgres", - "password": "postgres", - "database": "postgres" - } + "[pg]": { + "kind": "postgres" + }, + "[postgres]": { + "kind": "postgres" } }, "postgres": {