use sea_schema::migration::prelude
This commit is contained in:
parent
f8ab11d36a
commit
ea0342af06
@ -1,4 +1,4 @@
|
|||||||
pub use sea_schema::migration::*;
|
use sea_schema::migration::prelude::*;
|
||||||
|
|
||||||
mod m20220120_000001_create_post_table;
|
mod m20220120_000001_create_post_table;
|
||||||
|
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
use entity::post::*;
|
use entity::post::*;
|
||||||
use sea_schema::migration::{
|
use sea_schema::migration::prelude::*;
|
||||||
sea_query::{self, *},
|
|
||||||
*,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub struct Migration;
|
pub struct Migration;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use migration::Migrator;
|
use migration::Migrator;
|
||||||
use sea_schema::migration::*;
|
use sea_schema::migration::prelude::*;
|
||||||
|
|
||||||
#[async_std::main]
|
#[async_std::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
pub use sea_schema::migration::*;
|
use sea_schema::migration::prelude::*;
|
||||||
|
|
||||||
mod m20220101_000001_create_table;
|
mod m20220101_000001_create_table;
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
use sea_schema::migration::{
|
use sea_schema::migration::prelude::*;
|
||||||
sea_query::{self, *},
|
|
||||||
*,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub struct Migration;
|
pub struct Migration;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
use migration::Migrator;
|
use migration::Migrator;
|
||||||
use sea_schema::migration::*;
|
use sea_schema::migration::prelude::*;
|
||||||
|
|
||||||
#[async_std::main]
|
#[async_std::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user