diff options
| author | Ellie Huxtable <e@elm.sh> | 2021-04-09 12:40:21 +0100 |
|---|---|---|
| committer | Ellie Huxtable <e@elm.sh> | 2021-04-09 12:40:21 +0100 |
| commit | 9f16f76bd8d15824e27e971245ea93271fe76b29 (patch) | |
| tree | 6687ec0f743edb682dbb9f04f688fd059f404174 /src/remote/database.rs | |
| parent | Bump rusqlite from 0.24.2 to 0.25.0 (#30) (diff) | |
| download | atuin-9f16f76bd8d15824e27e971245ea93271fe76b29.zip | |
Update config
Diffstat (limited to '')
| -rw-r--r-- | src/remote/database.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/database.rs b/src/remote/database.rs index 4f386def..fabd07de 100644 --- a/src/remote/database.rs +++ b/src/remote/database.rs @@ -8,7 +8,7 @@ pub struct AtuinDbConn(diesel::PgConnection); // TODO: connection pooling pub fn establish_connection(settings: &Settings) -> PgConnection { - let database_url = &settings.remote.db.url; + let database_url = &settings.remote.db_uri; PgConnection::establish(database_url) .unwrap_or_else(|_| panic!("Error connecting to {}", database_url)) } |
