fix: initial failures (#4291)

* fix(cmd): read configuration correctly

* fix(database): read weakly typed config

* fix(database): correct handling of update columns

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Silvan
2022-09-01 07:24:26 +00:00
committed by GitHub
co-authored by Livio Spring
parent 32b751a3a0
commit 2f647ce9a2
13 changed files with 164 additions and 48 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ func TestUserGrantProjection_reduces(t *testing.T) {
executer: &testExecuter{
executions: []execution{
{
expectedStmt: "UPDATE projections.user_grants2 SET (roles) = (array_remove(roles, $1)) WHERE (project_id = $2)",
expectedStmt: "UPDATE projections.user_grants2 SET roles = array_remove(roles, $1) WHERE (project_id = $2)",
expectedArgs: []interface{}{
"key",
"agg-id",