aliasing can now move things around

This commit is contained in:
Priec
2026-08-15 09:17:32 +02:00
parent c3f5046c85
commit 6ef2694fef
9 changed files with 25 additions and 1 deletions

View File

@@ -385,6 +385,9 @@ pub struct TableDetail {
pub table_kind: ::prost::alloc::string::String,
#[prost(bool, tag = "9")]
pub global: bool,
/// Revision of this table definition for optimistic concurrency control.
#[prost(int64, tag = "10")]
pub row_version: i64,
}
/// Server-owned behavior for one logical column returned in table details.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
@@ -440,6 +443,9 @@ pub struct SetColumnPresentationRequest {
pub table_name: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "3")]
pub columns: ::prost::alloc::vec::Vec<ColumnPresentation>,
/// Row version returned by GetProfileDetails when this presentation was read.
#[prost(int64, tag = "4")]
pub expected_row_version: i64,
}
#[derive(serde::Serialize, serde::Deserialize)]
#[derive(Clone, PartialEq, ::prost::Message)]
@@ -450,6 +456,9 @@ pub struct SetColumnPresentationResponse {
pub message: ::prost::alloc::string::String,
#[prost(message, repeated, tag = "3")]
pub columns: ::prost::alloc::vec::Vec<ColumnPresentation>,
/// New row version after the update.
#[prost(int64, tag = "4")]
pub row_version: i64,
}
/// Request to delete one table definition entirely.
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]