diff --git a/tm_admin/tasks/task_annotations.yaml b/tm_admin/tasks/task_annotations.yaml new file mode 100644 index 00000000..2c802598 --- /dev/null +++ b/tm_admin/tasks/task_annotations.yaml @@ -0,0 +1,27 @@ +--- +# This file is used to generate the full SQL to create database +# tables, as well as the protobuf files. + +- task_annotations: + - id: + - int32 + - required: true + - share: true + - sequence: true + - unique: true + - project_id: + - int32 + - required: true + - task_id: + - int32 + - required: true + - annotation_type: + - string + - annotation_source: + - string + - updated_timestamp: + - timestamp + - required: true + - properties: + - json + - required: true diff --git a/tm_admin/tasks/task_history.yaml b/tm_admin/tasks/task_history.yaml index f0e5ea46..f1015708 100644 --- a/tm_admin/tasks/task_history.yaml +++ b/tm_admin/tasks/task_history.yaml @@ -5,10 +5,13 @@ - task_history: - id: - int64 + - required: true - project_id: - int64 + - required: true - task_id: - int64 + - required: true - action: - string - action_text: diff --git a/tm_admin/tasks/task_invalidation_history.yaml b/tm_admin/tasks/task_invalidation_history.yaml new file mode 100644 index 00000000..cfe46ec8 --- /dev/null +++ b/tm_admin/tasks/task_invalidation_history.yaml @@ -0,0 +1,33 @@ +--- +# This file is used to generate the full SQL to create database +# tables, as well as the protobuf files. + +- task_invalidation_history: + - id: + - int32 + - required: true + - share: true + - sequence: true + - unique: true + - project_id: + - int32 + - task_id: + - int32 + - is_closed: + - bool + - mapper_id: + - int64 + - mapped_date: + - timestamp + - invalidator_id: + - int64 + - invalidated_date: + - timestamp + - invalidation_history_id: + - in32 + - validator_id: + - int64 + - validated_date: + - timestamp + - updated_date: + - timestamp