versioning of FK for archiving

This commit is contained in:
Priec
2026-08-11 21:07:21 +02:00
parent 077d69d756
commit dcc07ee708
13 changed files with 529 additions and 11 deletions

View File

@@ -83,6 +83,11 @@ message PostTableDefinitionRequest {
// to individual MONEY-column currencies: tables may hold money in any currency, and amounts convert
// to this one when they reach the ledger.
string accounting_currency = 8;
// 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.
bool global = 9;
}
// Defines the input for explicitly creating tables backed by one invoice
@@ -237,6 +242,9 @@ message ProfileTreeResponse {
// "dynamic" for user-defined tables, "system" for backend-managed tables.
string table_kind = 5;
// True when this table is shared by every profile.
bool global = 6;
}
// Profile (schema) entry.
@@ -313,6 +321,7 @@ message TableDetail {
repeated string row_display_columns = 6;
map<string, ColumnBehavior> column_behaviors = 7;
string table_kind = 8;
bool global = 9;
}
// Server-owned behavior for one logical column returned in table details.