fix: replace username with first and last name and use user_id UUID for primary keys #32

Merged
realaravinth merged 5 commits from user-di into master 2024-07-14 22:53:49 +05:30
Showing only changes of commit c1eeff81d5 - Show all commits

View file

@ -68,12 +68,19 @@ mod tests {
#[test]
fn test_db_env_override() {
let init_settings = crate::settings::Settings::new().unwrap();
env_helper!(
init_settings,
"DATABASE_URL",
"postgres://test_db_env_override",
database.url
);
std::thread::spawn(move || {
env_helper!(
init_settings,
"DATABASE_URL",
"postgres://test_db_env_override",
database.url
);
assert!(true);
})
.join()
.unwrap();
env_helper!(init_settings, "VANIKAM_database_POOL", 99, database.pool);
}
}