automatic accounting - journal name max 10 chars

This commit is contained in:
Priec
2026-07-22 12:56:39 +02:00
parent d10546715a
commit 72ed729783
6 changed files with 13 additions and 9 deletions

Binary file not shown.

View File

@@ -18,8 +18,9 @@ pub struct PostJournalRequest {
/// journal is allowed to remain unbalanced.
#[prost(message, repeated, tag = "5")]
pub lines: ::prost::alloc::vec::Vec<JournalLineInput>,
/// 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,
}

View File

@@ -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