From 830682ca08060df66c688478a013e43499c24fff Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Mon, 14 Feb 2022 12:13:46 -0500 Subject: Fix CI --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 2968f20..8693381 100644 --- a/src/main.rs +++ b/src/main.rs @@ -123,6 +123,9 @@ async fn main() { ) .await .expect("Couldn't connect to postgresql"); + sqlx::migrate!("./migrations") + .run(&pool) + .await.unwrap(); Ok(Data { pg: Mutex::new(pool), }) -- cgit v1.2.3