automatic accounting - removing deprecacy/legacy
This commit is contained in:
@@ -181,7 +181,7 @@ message JournalLine {
|
||||
string source_table_name = 10;
|
||||
int64 source_record_id = 11;
|
||||
int64 source_row_revision = 12;
|
||||
int64 posting_script_id = 13;
|
||||
reserved 13;
|
||||
}
|
||||
|
||||
message Journal {
|
||||
|
||||
@@ -170,6 +170,8 @@ message 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)
|
||||
// INT
|
||||
// BIGINT
|
||||
// DATE
|
||||
|
||||
@@ -172,14 +172,14 @@ message StoredTableScript {
|
||||
}
|
||||
|
||||
message ScriptDependency {
|
||||
reserved 4;
|
||||
|
||||
// Logical table name referenced by the script.
|
||||
string target_table = 1;
|
||||
// Normalized dependency kind, such as column_access or related_aggregate.
|
||||
string dependency_type = 2;
|
||||
// Logical column name. Empty for aggregates that operate on rows only.
|
||||
string column = 3;
|
||||
// Deprecated legacy field. Raw SQL dependencies are no longer produced.
|
||||
string query_fragment = 4;
|
||||
// Aggregate operation name, such as sum, count_rows, or exists; empty for
|
||||
// column_access dependencies.
|
||||
string operation = 5;
|
||||
|
||||
@@ -121,11 +121,7 @@ message PostTableDataRequest {
|
||||
// - Some application-specific validations may apply (e.g., max length for
|
||||
// certain fields like "telefon")
|
||||
map<string, google.protobuf.Value> data = 3;
|
||||
|
||||
// Optional. Existing journal that receives the posting generated for this row.
|
||||
// Required when the table has an active after-insert posting script and rejected
|
||||
// when the table has no active posting script.
|
||||
optional int64 journal_id = 4;
|
||||
reserved 4;
|
||||
}
|
||||
|
||||
// Insert response.
|
||||
@@ -150,9 +146,7 @@ message PostTableDataResponse {
|
||||
message PostTableDataBulkRow {
|
||||
// Required. Same data payload as PostTableDataRequest.data.
|
||||
map<string, google.protobuf.Value> data = 1;
|
||||
|
||||
// Optional. Existing journal that receives the posting generated for this row.
|
||||
optional int64 journal_id = 2;
|
||||
reserved 2;
|
||||
}
|
||||
|
||||
// Bulk insert request.
|
||||
|
||||
Reference in New Issue
Block a user