Mejora y simplifica la gestión global de acciones
This commit is contained in:
parent
7c8f51ba86
commit
67ddb8d899
29 changed files with 184 additions and 206 deletions
|
|
@ -16,7 +16,7 @@ enum User {
|
|||
Timezone, // User's time zone.
|
||||
}
|
||||
|
||||
pub struct Migration;
|
||||
pub_migration!(Migration);
|
||||
|
||||
#[async_trait::async_trait]
|
||||
impl MigrationTrait for Migration {
|
||||
|
|
@ -77,9 +77,3 @@ impl MigrationTrait for Migration {
|
|||
.await
|
||||
}
|
||||
}
|
||||
|
||||
impl MigrationName for Migration {
|
||||
fn name(&self) -> &str {
|
||||
module_name!()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue