account_id is now being aliased cos its fk
This commit is contained in:
2
client
2
client
Submodule client updated: 1d7d88e4c6...d8cbdbfcf1
@@ -84,4 +84,7 @@ message TableColumn {
|
|||||||
|
|
||||||
// Logical source column name, empty for ordinary and system columns.
|
// Logical source column name, empty for ordinary and system columns.
|
||||||
string generated_from = 8;
|
string generated_from = 8;
|
||||||
|
|
||||||
|
// True when clients may offer this column in an alias rename picker.
|
||||||
|
bool renameable = 9;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -67,6 +67,9 @@ pub struct TableColumn {
|
|||||||
/// Logical source column name, empty for ordinary and system columns.
|
/// Logical source column name, empty for ordinary and system columns.
|
||||||
#[prost(string, tag = "8")]
|
#[prost(string, tag = "8")]
|
||||||
pub generated_from: ::prost::alloc::string::String,
|
pub generated_from: ::prost::alloc::string::String,
|
||||||
|
/// True when clients may offer this column in an alias rename picker.
|
||||||
|
#[prost(bool, tag = "9")]
|
||||||
|
pub renameable: bool,
|
||||||
}
|
}
|
||||||
/// Generated client implementations.
|
/// Generated client implementations.
|
||||||
pub mod table_structure_service_client {
|
pub mod table_structure_service_client {
|
||||||
|
|||||||
2
server
2
server
Submodule server updated: da8681a1c2...94bf8fb25b
@@ -177,6 +177,9 @@ pub(crate) async fn load_page(
|
|||||||
generated_from: behavior
|
generated_from: behavior
|
||||||
.map(|behavior| behavior.generated_from.clone())
|
.map(|behavior| behavior.generated_from.clone())
|
||||||
.unwrap_or_default(),
|
.unwrap_or_default(),
|
||||||
|
// Renaming changes shared table metadata, so an
|
||||||
|
// incomplete server capability response does
|
||||||
|
// not grant permission by omission.
|
||||||
renameable: behavior.is_some_and(|behavior| behavior.renameable),
|
renameable: behavior.is_some_and(|behavior| behavior.renameable),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user