diff --git a/common/proto/accounting.proto b/common/proto/accounting.proto index 1b39258..37bfa0e 100644 --- a/common/proto/accounting.proto +++ b/common/proto/accounting.proto @@ -54,8 +54,9 @@ message PostJournalRequest { // journal is allowed to remain unbalanced. repeated JournalLineInput lines = 5; - // Required and unique within the profile when creating. Must be empty when - // appending to an existing journal selected by journal_id. + // Required, unique within the profile, and at most 10 characters when + // creating. Must be empty when appending to an existing journal selected by + // journal_id. string journal_name = 6; } diff --git a/common/proto/table_definition.proto b/common/proto/table_definition.proto index bfbb251..c2bb5ad 100644 --- a/common/proto/table_definition.proto +++ b/common/proto/table_definition.proto @@ -170,8 +170,9 @@ message ColumnDefinition { // PHONE (international or national phone number; generates extension/type/country/calling-code companions) // TIME (timezone-free time of day) // MONEY (= unconstrained NUMERIC; currency comes from the table) - // ACCOUNTING (creates the schema-managed name, debit, and credit columns; - // one stored row contributes one line to the profile journal) + // ACCOUNTING (creates the schema-managed name, account, debit, and credit columns; + // name is limited to 10 characters and one stored row contributes + // one line to the profile journal) // INT // BIGINT // DATE diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 1ade128..48b8070 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.accounting.rs b/common/src/proto/komp_ac.accounting.rs index 45b31e1..5530fc4 100644 --- a/common/src/proto/komp_ac.accounting.rs +++ b/common/src/proto/komp_ac.accounting.rs @@ -18,8 +18,9 @@ pub struct PostJournalRequest { /// journal is allowed to remain unbalanced. #[prost(message, repeated, tag = "5")] pub lines: ::prost::alloc::vec::Vec, - /// Required and unique within the profile when creating. Must be empty when - /// appending to an existing journal selected by journal_id. + /// Required, unique within the profile, and at most 10 characters when + /// creating. Must be empty when appending to an existing journal selected by + /// journal_id. #[prost(string, tag = "6")] pub journal_name: ::prost::alloc::string::String, } diff --git a/common/src/proto/komp_ac.table_definition.rs b/common/src/proto/komp_ac.table_definition.rs index 2d7d071..e94d90e 100644 --- a/common/src/proto/komp_ac.table_definition.rs +++ b/common/src/proto/komp_ac.table_definition.rs @@ -141,8 +141,9 @@ pub struct ColumnDefinition { /// PHONE (international or national phone number; generates extension/type/country/calling-code companions) /// TIME (timezone-free time of day) /// MONEY (= unconstrained NUMERIC; currency comes from the table) - /// ACCOUNTING (creates the schema-managed name, debit, and credit columns; - /// one stored row contributes one line to the profile journal) + /// ACCOUNTING (creates the schema-managed name, account, debit, and credit columns; + /// name is limited to 10 characters and one stored row contributes + /// one line to the profile journal) /// INT /// BIGINT /// DATE diff --git a/server b/server index 549f26d..0b6d30e 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit 549f26df7026d5beb7a7af553143fad9b6b5de38 +Subproject commit 0b6d30e814083800dc871056d2f4dafd118d64cd