Corrige ejecución de "migrations" al desinst. mód.
This commit is contained in:
parent
a09f3aba7b
commit
842dd5234b
22 changed files with 644 additions and 71 deletions
|
|
@ -3,13 +3,19 @@ use pagetop::prelude::*;
|
|||
struct Drust;
|
||||
|
||||
impl AppTrait for Drust {
|
||||
fn enable_modules(&self) -> Vec<&'static dyn ModuleTrait> {
|
||||
fn enable_modules(&self) -> Vec<ModuleStaticRef> {
|
||||
vec![
|
||||
&pagetop_admin::Admin,
|
||||
&pagetop_user::User,
|
||||
&pagetop_node::Node,
|
||||
]
|
||||
}
|
||||
|
||||
fn disable_modules(&self) -> Vec<ModuleStaticRef> {
|
||||
vec![
|
||||
// &pagetop_node::Node,
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#[actix_web::main]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue