()
| 336 | use super::*; |
| 337 | |
| 338 | fn crm_schema() -> StrictSchema { |
| 339 | StrictSchema::new(vec![ |
| 340 | ColumnDef::required("id", ColumnType::Int64).with_primary_key(), |
| 341 | ColumnDef::required("name", ColumnType::String), |
| 342 | ColumnDef::nullable("email", ColumnType::String), |
| 343 | ColumnDef::required( |
| 344 | "balance", |
| 345 | ColumnType::Decimal { |
| 346 | precision: 18, |
| 347 | scale: 4, |
| 348 | }, |
| 349 | ), |
| 350 | ColumnDef::nullable("active", ColumnType::Bool), |
| 351 | ]) |
| 352 | .unwrap() |
| 353 | } |
| 354 | |
| 355 | #[test] |
| 356 | fn encode_basic_row() { |
no outgoing calls