mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(user): setup user tables (#2803)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Sahkal Poddar <sahkalplanet@gmail.com> Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in> Co-authored-by: Sai Harsha Vardhan <56996463+sai-harsha-vardhan@users.noreply.github.com> Co-authored-by: Venkatesh <inventvenkat@gmail.com> Co-authored-by: venkatesh.devendran <venkatesh.devendran@juspay.in> Co-authored-by: Abhishek Marrivagu <68317979+Abhicodes-crypto@users.noreply.github.com>
This commit is contained in:
@ -41,6 +41,8 @@ pub struct MockDb {
|
||||
pub reverse_lookups: Arc<Mutex<Vec<store::ReverseLookup>>>,
|
||||
pub payment_link: Arc<Mutex<Vec<store::payment_link::PaymentLink>>>,
|
||||
pub organizations: Arc<Mutex<Vec<store::organization::Organization>>>,
|
||||
pub users: Arc<Mutex<Vec<store::user::User>>>,
|
||||
pub user_roles: Arc<Mutex<Vec<store::user_role::UserRole>>>,
|
||||
}
|
||||
|
||||
impl MockDb {
|
||||
@ -74,6 +76,8 @@ impl MockDb {
|
||||
reverse_lookups: Default::default(),
|
||||
payment_link: Default::default(),
|
||||
organizations: Default::default(),
|
||||
users: Default::default(),
|
||||
user_roles: Default::default(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user