diff --git a/common/proto/tables_data.proto b/common/proto/tables_data.proto index 968851bb..128970b2 100644 --- a/common/proto/tables_data.proto +++ b/common/proto/tables_data.proto @@ -102,7 +102,8 @@ message PostTableDataRequest { // - System/FK columns: // • "deleted" (BOOLEAN), optional; default FALSE if not provided // • one BIGINT per link, named by whoever declared it - // • "account" (slash-delimited account string) on ACCOUNTING-enabled tables + // • "account" (required, non-null slash-delimited account string) on + // ACCOUNTING-enabled tables // // Type expectations by SQL type: // - TEXT: string value; empty string is treated as NULL @@ -182,6 +183,7 @@ message PutTableDataRequest { int64 id = 3; // Required. Columns to update (same typing rules as PostTableDataRequest.data). + // "account" may be omitted, but cannot be null when supplied. // // Special script rules: // - If a script targets column X and X is included here, the value for X must diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index e106dc3f..9f6fc120 100644 Binary files a/common/src/proto/descriptor.bin and b/common/src/proto/descriptor.bin differ diff --git a/common/src/proto/komp_ac.tables_data.rs b/common/src/proto/komp_ac.tables_data.rs index deebf2d7..627c388a 100644 --- a/common/src/proto/komp_ac.tables_data.rs +++ b/common/src/proto/komp_ac.tables_data.rs @@ -18,7 +18,8 @@ pub struct PostTableDataRequest { /// * System/FK columns: /// • "deleted" (BOOLEAN), optional; default FALSE if not provided /// • one BIGINT per link, named by whoever declared it - /// • "account" (slash-delimited account string) on ACCOUNTING-enabled tables + /// • "account" (required, non-null slash-delimited account string) on + /// ACCOUNTING-enabled tables /// /// Type expectations by SQL type: /// @@ -112,6 +113,7 @@ pub struct PutTableDataRequest { #[prost(int64, tag = "3")] pub id: i64, /// Required. Columns to update (same typing rules as PostTableDataRequest.data). + /// "account" may be omitted, but cannot be null when supplied. /// /// Special script rules: /// diff --git a/server b/server index d29f1305..2e4342db 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit d29f130523766cf7beb44e478950aca558fa2b23 +Subproject commit 2e4342dbf48b9f9e327bb02e98aa7627ad6c7d0a