aliasing can now move things around
This commit is contained in:
@@ -80,6 +80,7 @@ impl TableSummary {
|
||||
#[derive(Clone, Debug)]
|
||||
pub(crate) struct TableDetailView {
|
||||
pub id: i64,
|
||||
pub row_version: i64,
|
||||
pub row_display_columns: Vec<String>,
|
||||
pub columns: Vec<DetailColumn>,
|
||||
pub scripts: Vec<ScriptView>,
|
||||
@@ -181,6 +182,8 @@ pub(crate) struct PresentationForm {
|
||||
#[serde(default)]
|
||||
pub table: String,
|
||||
#[serde(default)]
|
||||
pub expected_row_version: i64,
|
||||
#[serde(default)]
|
||||
pub column_ids: Vec<i64>,
|
||||
#[serde(default)]
|
||||
pub aliases: Vec<String>,
|
||||
@@ -387,6 +390,7 @@ mod tests {
|
||||
fn provenance_and_renameability_are_independent() {
|
||||
let detail = TableDetailView {
|
||||
id: 1,
|
||||
row_version: 1,
|
||||
row_display_columns: Vec::new(),
|
||||
scripts: Vec::new(),
|
||||
columns: vec![
|
||||
|
||||
Reference in New Issue
Block a user