use sea_schema::migration::prelude

This commit is contained in:
Chris Tsang 2022-02-07 21:28:06 +08:00
parent f8ab11d36a
commit ea0342af06
6 changed files with 6 additions and 12 deletions

View File

@ -1,4 +1,4 @@
pub use sea_schema::migration::*;
use sea_schema::migration::prelude::*;
mod m20220120_000001_create_post_table;

View File

@ -1,8 +1,5 @@
use entity::post::*;
use sea_schema::migration::{
sea_query::{self, *},
*,
};
use sea_schema::migration::prelude::*;
pub struct Migration;

View File

@ -1,5 +1,5 @@
use migration::Migrator;
use sea_schema::migration::*;
use sea_schema::migration::prelude::*;
#[async_std::main]
async fn main() {

View File

@ -1,4 +1,4 @@
pub use sea_schema::migration::*;
use sea_schema::migration::prelude::*;
mod m20220101_000001_create_table;

View File

@ -1,7 +1,4 @@
use sea_schema::migration::{
sea_query::{self, *},
*,
};
use sea_schema::migration::prelude::*;
pub struct Migration;

View File

@ -1,5 +1,5 @@
use migration::Migrator;
use sea_schema::migration::*;
use sea_schema::migration::prelude::*;
#[async_std::main]
async fn main() {