account table is being automatic from now on
This commit is contained in:
Binary file not shown.
@@ -13,10 +13,6 @@ 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)]
|
||||
@@ -154,9 +150,8 @@ pub struct ColumnDefinition {
|
||||
/// TIME (timezone-free time of day)
|
||||
/// MONEY (= unconstrained NUMERIC; currency comes from the table)
|
||||
/// ACCOUNTING (creates schema-managed name, debit, and credit columns;
|
||||
/// the table creator must separately provide a column named account
|
||||
/// with any supported type or a required link to a table named account;
|
||||
/// linked accounts post the linked row's configured display value;
|
||||
/// automatically creates a required accounts_id link and posts
|
||||
/// the referenced canonical account row's account value;
|
||||
/// name is limited to 10 characters and one stored row contributes
|
||||
/// one line to the profile journal)
|
||||
/// INT
|
||||
|
||||
Reference in New Issue
Block a user