1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-23 03:12:36 +01:00

Merge pull request #414 from FrankPetrilli/patch-1

Minor typo fix conect => connect
This commit is contained in:
Daniel García 2019-02-25 14:21:28 +01:00 committed by GitHub
commit 2646db78a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ mod migrations {
pub fn run_migrations() { pub fn run_migrations() {
// Make sure the database is up to date (create if it doesn't exist, or run the migrations) // Make sure the database is up to date (create if it doesn't exist, or run the migrations)
let connection = crate::db::get_connection().expect("Can't conect to DB"); let connection = crate::db::get_connection().expect("Can't connect to DB");
use std::io::stdout; use std::io::stdout;
embedded_migrations::run_with_output(&connection, &mut stdout()).expect("Can't run migrations"); embedded_migrations::run_with_output(&connection, &mut stdout()).expect("Can't run migrations");