Update tests
This commit is contained in:
parent
ec2f282dee
commit
1984a70cc4
@ -1,6 +1,6 @@
|
|||||||
use super::m20220118_000001_create_cake_table::Cake;
|
use super::m20220118_000001_create_cake_table::Cake;
|
||||||
use sea_orm::DbBackend;
|
|
||||||
use sea_orm_migration::prelude::*;
|
use sea_orm_migration::prelude::*;
|
||||||
|
use sea_orm_migration::sea_orm::DbBackend;
|
||||||
|
|
||||||
pub struct Migration;
|
pub struct Migration;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use sea_orm::{entity::prelude::*, Set};
|
|
||||||
use sea_orm_migration::prelude::*;
|
use sea_orm_migration::prelude::*;
|
||||||
|
use sea_orm_migration::sea_orm::{entity::*, query::*};
|
||||||
|
|
||||||
pub struct Migration;
|
pub struct Migration;
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ impl MigrationTrait for Migration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod cake {
|
mod cake {
|
||||||
use sea_orm::entity::prelude::*;
|
use sea_orm_migration::sea_orm::entity::prelude::*;
|
||||||
|
|
||||||
#[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
|
#[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
|
||||||
#[sea_orm(table_name = "cake")]
|
#[sea_orm(table_name = "cake")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user