versioning of FK for archiving
This commit is contained in:
@@ -37,6 +37,10 @@ pub struct PostTableDefinitionRequest {
|
||||
/// to this one when they reach the ledger.
|
||||
#[prost(string, tag = "8")]
|
||||
pub accounting_currency: ::prost::alloc::string::String,
|
||||
/// When true, the table is stored once in the global physical schema and is
|
||||
/// visible from every profile. profile_name and accounting_currency are ignored.
|
||||
#[prost(bool, tag = "9")]
|
||||
pub global: bool,
|
||||
}
|
||||
/// Defines the input for explicitly creating tables backed by one invoice
|
||||
/// template. typst_source must contain exactly one field declaration:
|
||||
@@ -215,6 +219,9 @@ pub mod profile_tree_response {
|
||||
/// "dynamic" for user-defined tables, "system" for backend-managed tables.
|
||||
#[prost(string, tag = "5")]
|
||||
pub table_kind: ::prost::alloc::string::String,
|
||||
/// True when this table is shared by every profile.
|
||||
#[prost(bool, tag = "6")]
|
||||
pub global: bool,
|
||||
}
|
||||
/// Profile (schema) entry.
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
@@ -324,6 +331,8 @@ pub struct TableDetail {
|
||||
>,
|
||||
#[prost(string, tag = "8")]
|
||||
pub table_kind: ::prost::alloc::string::String,
|
||||
#[prost(bool, tag = "9")]
|
||||
pub global: bool,
|
||||
}
|
||||
/// Server-owned behavior for one logical column returned in table details.
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
|
||||
Reference in New Issue
Block a user