✨ Nix shell, pg docker, fix paths, replaced make with just
This commit is contained in:
@ -3,8 +3,5 @@ use deadpool_diesel::postgres::BuildError;
|
||||
use lib::diesel::pool::PgPool;
|
||||
|
||||
pub(crate) fn create_pool() -> Result<PgPool, BuildError> {
|
||||
lib::diesel::pool::create_pool()
|
||||
.url(config::DATABASE_URL)
|
||||
.size(config::POOL_SIZE)
|
||||
.call()
|
||||
lib::diesel::pool::create_pool_from_url_with_size(config::DATABASE_URL, config::POOL_SIZE)
|
||||
}
|
||||
|
Reference in New Issue
Block a user