wip: work on auth
This commit is contained in:
@@ -29,6 +29,10 @@ where
|
||||
pub async fn create_tables(db: &DbConn) {
|
||||
create_table(db, user::Entity).await;
|
||||
create_table(db, permission::Entity).await;
|
||||
create_table(db, group::Entity).await;
|
||||
create_table(db, user_permission::Entity).await;
|
||||
create_table(db, group_permission::Entity).await;
|
||||
create_table(db, user_group::Entity).await;
|
||||
}
|
||||
|
||||
#[tokio::main]
|
||||
|
||||
Reference in New Issue
Block a user