-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #80 from TheShieldAuth/develop
update user api added and few enhancements
- Loading branch information
Showing
27 changed files
with
606 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
pub use sea_orm_migration::prelude::*; | ||
|
||
mod m20220101_000001_create_realm_table; | ||
mod m20220101_000002_create_client_table; | ||
mod m20220101_000003_create_user_table; | ||
mod m20220101_000004_create_resource_group_table; | ||
mod m20220101_000005_create_resource_table; | ||
mod m20220101_000006_create_refresh_token_table; | ||
mod m20220101_000007_create_api_user_table; | ||
mod m20220101_000008_create_session_table; | ||
mod m20220101_000009_create_verification_table; | ||
mod m20250101_000001_create_realm_table; | ||
mod m20250101_000002_create_client_table; | ||
mod m20250101_000003_create_user_table; | ||
mod m20250101_000004_create_resource_group_table; | ||
mod m20250101_000005_create_resource_table; | ||
mod m20250101_000006_create_refresh_token_table; | ||
mod m20250101_000007_create_api_user_table; | ||
mod m20250101_000008_create_session_table; | ||
mod m20250101_000009_create_verification_table; | ||
|
||
pub struct Migrator; | ||
|
||
#[async_trait::async_trait] | ||
impl MigratorTrait for Migrator { | ||
fn migrations() -> Vec<Box<dyn MigrationTrait>> { | ||
vec![ | ||
Box::new(m20220101_000001_create_realm_table::Migration), | ||
Box::new(m20220101_000002_create_client_table::Migration), | ||
Box::new(m20220101_000003_create_user_table::Migration), | ||
Box::new(m20220101_000004_create_resource_group_table::Migration), | ||
Box::new(m20220101_000005_create_resource_table::Migration), | ||
Box::new(m20220101_000006_create_refresh_token_table::Migration), | ||
Box::new(m20220101_000007_create_api_user_table::Migration), | ||
Box::new(m20220101_000008_create_session_table::Migration), | ||
Box::new(m20220101_000009_create_verification_table::Migration), | ||
Box::new(m20250101_000001_create_realm_table::Migration), | ||
Box::new(m20250101_000002_create_client_table::Migration), | ||
Box::new(m20250101_000003_create_user_table::Migration), | ||
Box::new(m20250101_000004_create_resource_group_table::Migration), | ||
Box::new(m20250101_000005_create_resource_table::Migration), | ||
Box::new(m20250101_000006_create_refresh_token_table::Migration), | ||
Box::new(m20250101_000007_create_api_user_table::Migration), | ||
Box::new(m20250101_000008_create_session_table::Migration), | ||
Box::new(m20250101_000009_create_verification_table::Migration), | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...101_000004_create_resource_group_table.rs → ...101_000004_create_resource_group_table.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...m20220101_000005_create_resource_table.rs → ...m20250101_000005_create_resource_table.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...0101_000006_create_refresh_token_table.rs → ...0101_000006_create_refresh_token_table.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...m20220101_000007_create_api_user_table.rs → ...m20250101_000007_create_api_user_table.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
.../m20220101_000008_create_session_table.rs → .../m20250101_000008_create_session_table.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...20101_000009_create_verification_table.rs → ...50101_000009_create_verification_table.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.