From f4af139261150058c55c895d36bc4924e5899b43 Mon Sep 17 00:00:00 2001 From: Michael Bryzek Date: Wed, 31 Jul 2024 13:16:58 +0200 Subject: [PATCH] wip --- dao/spec/psql-apibuilder.json | 68 +++++++++++++++++------------------ 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/dao/spec/psql-apibuilder.json b/dao/spec/psql-apibuilder.json index 9676a12f8..637842fbf 100644 --- a/dao/spec/psql-apibuilder.json +++ b/dao/spec/psql-apibuilder.json @@ -28,40 +28,6 @@ ], "models": { - "generator_invocation": { - "fields": [ - { - "name": "id", - "type": "string" - }, - { - "name": "key", - "type": "string" - }, - { - "name": "organization_key", - "type": "string", - "required": false - }, - { - "name": "application_key", - "type": "string", - "required": false - } - ], - "attributes": [ - { - "name": "scala", - "value": { - "id_generator": { - "class": "com.mbryzek.util.IdGenerator", - "prefix": "gni" - } - } - } - ] - }, - "task": { "fields": [ { "name": "id", "type": "string" }, @@ -119,6 +85,40 @@ } } ] + }, + + "generator_invocation": { + "fields": [ + { "name": "id", "type": "string" }, + { "name": "key", "type": "string" }, + { "name": "organization_key", "type": "string", "required": false }, + { "name": "application_key", "type": "string", "required": false } + ], + "attributes": [ + { + "name": "scala", + "value": { + "id_generator": { + "class": "com.mbryzek.util.IdGenerator", + "prefix": "gni" + } + } + }, + { + "name": "psql", + "value": { + "audit": { + "created": { + "at": { "type": "date-time-iso8601" } + }, + "updated": { + "at": { "type": "date-time-iso8601" }, + "by": { "name": "updated_by_guid", "type": "string" } + } + } + } + } + ] } } }