journal id is now part of the db

This commit is contained in:
Priec
2026-07-21 08:37:36 +02:00
parent 5cec91b0f7
commit 6ab03aae94
7 changed files with 23 additions and 4 deletions

View File

@@ -121,6 +121,11 @@ message PostTableDataRequest {
// - Some application-specific validations may apply (e.g., max length for
// certain fields like "telefon")
map<string, google.protobuf.Value> data = 3;
// Optional. Existing journal that receives the posting generated for this row.
// Required when the table has an active after-insert posting script and rejected
// when the table has no active posting script.
optional int64 journal_id = 4;
}
// Insert response.
@@ -145,6 +150,9 @@ message PostTableDataResponse {
message PostTableDataBulkRow {
// Required. Same data payload as PostTableDataRequest.data.
map<string, google.protobuf.Value> data = 1;
// Optional. Existing journal that receives the posting generated for this row.
optional int64 journal_id = 2;
}
// Bulk insert request.