account is always FK from now on

This commit is contained in:
Priec
2026-07-29 15:26:33 +02:00
parent 76a5f76194
commit a02aba3832
6 changed files with 12 additions and 2 deletions

Binary file not shown.

View File

@@ -13,6 +13,10 @@ pub struct TableLink {
/// Duplicate links to the same target table in one request are rejected.
#[prost(bool, tag = "2")]
pub required: bool,
/// User-defined column read from this linked row as the journal account.
/// Exactly one required link must set this when the table contains ACCOUNTING.
#[prost(string, tag = "3")]
pub account_value_column: ::prost::alloc::string::String,
}
/// Defines the input for creating a new table definition.
#[derive(serde::Serialize, serde::Deserialize)]