♻️ [global] Despivota acceso a base de datos
This commit is contained in:
parent
e143ee57ac
commit
19b4c251b0
6 changed files with 105 additions and 102 deletions
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue