profile name sent with every table from now on
This commit is contained in:
Binary file not shown.
@@ -263,6 +263,12 @@ pub mod profile_tree_response {
|
||||
/// True when this table is shared by every profile.
|
||||
#[prost(bool, tag = "6")]
|
||||
pub global: bool,
|
||||
/// Profile (schema) the table is actually stored in. A global table is
|
||||
/// listed under every profile it is visible from, so this names the one it
|
||||
/// belongs to rather than the one it was reached through, and callers can
|
||||
/// use it as the table's identity without deciding anything themselves.
|
||||
#[prost(string, tag = "7")]
|
||||
pub profile_name: ::prost::alloc::string::String,
|
||||
}
|
||||
/// Profile (schema) entry.
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
@@ -388,6 +394,11 @@ pub struct TableDetail {
|
||||
/// Revision of this table definition for optimistic concurrency control.
|
||||
#[prost(int64, tag = "10")]
|
||||
pub row_version: i64,
|
||||
/// Profile (schema) the table is actually stored in, which is not the
|
||||
/// requested profile when a global table is being listed. See
|
||||
/// ProfileTreeResponse.Table.profile_name.
|
||||
#[prost(string, tag = "11")]
|
||||
pub profile_name: ::prost::alloc::string::String,
|
||||
}
|
||||
/// 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