♻️ [global] Despivota acceso a base de datos

This commit is contained in:
Manuel Cillero 2022-11-10 22:41:44 +01:00
parent e143ee57ac
commit 19b4c251b0
6 changed files with 105 additions and 102 deletions

View file

@ -51,7 +51,7 @@ impl MigrationTrait for Migration {
.await?;
// Built-in roles.
app::db::exec::<InsertStatement>(
db::exec::<InsertStatement>(
Query::insert()
.into_table(Role::Table)
.columns(vec![Role::Name, Role::Weight])