fixing tests4 - columns have required flag from now on
This commit is contained in:
2
client
2
client
Submodule client updated: 949b8c784d...443d7b9ab9
@@ -193,6 +193,9 @@ message ColumnDefinition {
|
||||
// Canonical uppercase ISO-4217 currency code. Required for MONEY and forbidden
|
||||
// for every other field type.
|
||||
string currency = 5;
|
||||
|
||||
// When true, the server rejects omitted or explicitly null values.
|
||||
bool required = 6;
|
||||
}
|
||||
|
||||
// Response after table creation (success + DDL preview).
|
||||
|
||||
Binary file not shown.
@@ -158,6 +158,9 @@ pub struct ColumnDefinition {
|
||||
/// for every other field type.
|
||||
#[prost(string, tag = "5")]
|
||||
pub currency: ::prost::alloc::string::String,
|
||||
/// When true, the server rejects omitted or explicitly null values.
|
||||
#[prost(bool, tag = "6")]
|
||||
pub required: bool,
|
||||
}
|
||||
/// Response after table creation (success + DDL preview).
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
|
||||
2
server
2
server
Submodule server updated: 4fe6da6ac7...f094509691
@@ -731,6 +731,7 @@ pub(crate) fn proto_columns(columns: &[ColumnDefinition]) -> Vec<ProtoColumnDefi
|
||||
},
|
||||
quantity_ledger: column.quantity_ledger,
|
||||
currency: column.currency.clone(),
|
||||
required: false,
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user