Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Fix the task creation, still receive the task status from the client
天舟43fa317b09ec
diff --git a/api/task.go b/api/task.goindex e90980b15a..07f5790b20 100644--- a/api/task.go+++ b/api/task.go@@ -128,10 +128,9 @@ type TaskCreate struct {DatabaseId *int `jsonapi:"attr,databaseId"`// Domain specific fields- Name string `jsonapi:"attr,name"`- // This is derived from the environment policy- Status TaskStatus- Type TaskType `jsonapi:"attr,type"`+ Name string `jsonapi:"attr,name"`+ Status TaskStatus `jsonapi:"attr,status"`+ Type TaskType `jsonapi:"attr,type"`// Payload is dirived from fields below itPayload stringStatement string `jsonapi:"attr,statement"`