mirror of
https://github.com/danbulant/Portfolio
synced 2026-07-06 11:30:44 +00:00
chore: session migrace
This commit is contained in:
parent
93512c0d34
commit
7e9f63afe2
3 changed files with 4 additions and 0 deletions
|
|
@ -3,3 +3,4 @@ pub mod prelude;
|
||||||
pub mod admin;
|
pub mod admin;
|
||||||
pub mod candidate;
|
pub mod candidate;
|
||||||
pub mod parent;
|
pub mod parent;
|
||||||
|
pub mod session;
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,4 @@
|
||||||
pub use super::admin::Entity as Admin;
|
pub use super::admin::Entity as Admin;
|
||||||
pub use super::candidate::Entity as Candidate;
|
pub use super::candidate::Entity as Candidate;
|
||||||
pub use super::parent::Entity as Parent;
|
pub use super::parent::Entity as Parent;
|
||||||
|
pub use super::session::Entity as Session;
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ mod m20221024_111310_create_admin;
|
||||||
mod m20221024_121621_create_candidate;
|
mod m20221024_121621_create_candidate;
|
||||||
mod m20221024_124701_create_parent;
|
mod m20221024_124701_create_parent;
|
||||||
mod m20221024_134454_fill_admin;
|
mod m20221024_134454_fill_admin;
|
||||||
|
mod m20221025_154422_create_session;
|
||||||
|
|
||||||
pub struct Migrator;
|
pub struct Migrator;
|
||||||
|
|
||||||
|
|
@ -15,6 +16,7 @@ impl MigratorTrait for Migrator {
|
||||||
Box::new(m20221024_121621_create_candidate::Migration),
|
Box::new(m20221024_121621_create_candidate::Migration),
|
||||||
Box::new(m20221024_124701_create_parent::Migration),
|
Box::new(m20221024_124701_create_parent::Migration),
|
||||||
Box::new(m20221024_134454_fill_admin::Migration::default()),
|
Box::new(m20221024_134454_fill_admin::Migration::default()),
|
||||||
|
Box::new(m20221025_154422_create_session::Migration),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue