Añade funciones de acceso básico a base de datos
This commit is contained in:
parent
d4c6a3b2f3
commit
e7f9bf8778
17 changed files with 99 additions and 75 deletions
|
|
@ -24,7 +24,7 @@ impl ModuleTrait for NodeModule {
|
|||
cfg.route("/node", app::web::get().to(node));
|
||||
}
|
||||
|
||||
fn migrations(&self) -> Vec<Box<dyn db::migration::MigrationTrait>> {
|
||||
fn migrations(&self) -> Vec<Box<dyn db::MigrationTrait>> {
|
||||
vec![
|
||||
boxed_migration!(m20220316_000001_create_table_node_type),
|
||||
boxed_migration!(m20220316_000002_create_table_node),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue