geforkt von mirrored/vaultwarden
Merge pull request #414 from FrankPetrilli/patch-1
Minor typo fix conect => connect
Dieser Commit ist enthalten in:
Commit
2646db78a4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -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");
|
||||||
|
|
Laden …
In neuem Issue referenzieren