aliasing can now move things around
This commit is contained in:
@@ -375,6 +375,8 @@ message TableDetail {
|
||||
map<string, ColumnBehavior> column_behaviors = 7;
|
||||
string table_kind = 8;
|
||||
bool global = 9;
|
||||
// Revision of this table definition for optimistic concurrency control.
|
||||
int64 row_version = 10;
|
||||
}
|
||||
|
||||
// Server-owned behavior for one logical column returned in table details.
|
||||
@@ -417,12 +419,16 @@ message SetColumnPresentationRequest {
|
||||
string profile_name = 1;
|
||||
string table_name = 2;
|
||||
repeated ColumnPresentation columns = 3;
|
||||
// Row version returned by GetProfileDetails when this presentation was read.
|
||||
int64 expected_row_version = 4;
|
||||
}
|
||||
|
||||
message SetColumnPresentationResponse {
|
||||
bool success = 1;
|
||||
string message = 2;
|
||||
repeated ColumnPresentation columns = 3;
|
||||
// New row version after the update.
|
||||
int64 row_version = 4;
|
||||
}
|
||||
|
||||
// Request to delete one table definition entirely.
|
||||
|
||||
Binary file not shown.
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user