toasty_driver_integration_suite/scenarios/
fixed_item_name.rs1use crate::prelude::*;
2
3scenario! {
4 #[derive(Debug, toasty::Model)]
5 struct Item {
6 #[key]
7 id: i64,
8
9 name: String,
10 }
11
12 async fn setup(test: &mut Test) -> toasty::Db {
13 test.setup_db(models!(Item)).await
14 }
15}