Corrige ejecución de "migrations" al desinst. mód.

This commit is contained in:
Manuel Cillero 2022-07-31 18:48:08 +02:00
parent a09f3aba7b
commit 842dd5234b
22 changed files with 644 additions and 71 deletions

View file

@ -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]