account_id is now being aliased cos its fk

This commit is contained in:
Priec
2026-08-12 20:45:25 +02:00
parent 49323b58d6
commit 9ebe038130
6 changed files with 11 additions and 2 deletions

2
client

Submodule client updated: 1d7d88e4c6...d8cbdbfcf1

View File

@@ -84,4 +84,7 @@ message TableColumn {
// Logical source column name, empty for ordinary and system columns.
string generated_from = 8;
// True when clients may offer this column in an alias rename picker.
bool renameable = 9;
}

Binary file not shown.

View File

@@ -67,6 +67,9 @@ pub struct TableColumn {
/// Logical source column name, empty for ordinary and system columns.
#[prost(string, tag = "8")]
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.
pub mod table_structure_service_client {

2
server

Submodule server updated: da8681a1c2...94bf8fb25b

View File

@@ -177,6 +177,9 @@ pub(crate) async fn load_page(
generated_from: behavior
.map(|behavior| behavior.generated_from.clone())
.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),
}
})