Authenticate protected routes
This commit is contained in:
1 parent
05235f8385
commit
3d32c30d2d
18 files changed
+419
-108
No files matched your search
@@ -4,7 +4,7 @@ use sqlx::postgres::{PgPool, PgPoolOptions};
|
||||
use sqlx::{Connection, PgConnection, Postgres};
|
||||
use std::path::Path;
|
||||
|
||||
const MIGRATION_FOLDER: &'static str = "migrations";
|
||||
const MIGRATION_FOLDER: &str = "migrations";
|
||||
|
||||
pub async fn connect() -> Result<PgPool, sqlx::Error> {
|
||||
info!("Initializing database connection");
|
||||
|
||||
Reference in new issue
Block a user