Fix test cases

This commit is contained in:
Billy Chan 2021-09-14 00:04:26 +08:00
parent 39c5a4d134
commit 848a15856b
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -5,9 +5,9 @@ use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel)] #[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
#[sea_orm(table_name = "_cake_filling_")] #[sea_orm(table_name = "_cake_filling_")]
pub struct Model { pub struct Model {
#[sea_orm(primary_key)] #[sea_orm(primary_key, auto_increment = false)]
pub cake_id: i32, pub cake_id: i32,
#[sea_orm(primary_key)] #[sea_orm(primary_key, auto_increment = false)]
pub filling_id: i32, pub filling_id: i32,
} }