mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-04 02:20:50 +00:00
chore: import candidate migrace
This commit is contained in:
parent
c42a52e863
commit
1fc69e7cee
1 changed files with 2 additions and 1 deletions
|
|
@ -1,12 +1,13 @@
|
||||||
pub use sea_orm_migration::prelude::*;
|
pub use sea_orm_migration::prelude::*;
|
||||||
|
|
||||||
mod m20221024_111310_create_admin;
|
mod m20221024_111310_create_admin;
|
||||||
|
mod m20221024_121621_create_candidate;
|
||||||
|
|
||||||
pub struct Migrator;
|
pub struct Migrator;
|
||||||
|
|
||||||
#[async_trait::async_trait]
|
#[async_trait::async_trait]
|
||||||
impl MigratorTrait for Migrator {
|
impl MigratorTrait for Migrator {
|
||||||
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
fn migrations() -> Vec<Box<dyn MigrationTrait>> {
|
||||||
vec![Box::new(m20221024_111310_create_admin::Migration)]
|
vec![Box::new(m20221024_111310_create_admin::Migration), Box::new(m20221024_121621_create_candidate::Migration)]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue