Skip to content

Commit

Permalink
Update main.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
thorrester committed Jul 22, 2024
1 parent d139391 commit 02b9897
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ async fn start_main_server() -> Result<(), anyhow::Error> {
.with_context(|| "Failed to create Postgres client")?;

// run migrations
//sqlx::migrate!()
// .run(&pool)
// .await
// .with_context(|| "Failed to run migrations")?;
//
sqlx::migrate!()
.run(&pool)
.await
.with_context(|| "Failed to run migrations")?;

// setup background task if kafka is enabled
println!("Printing env vars");
Expand Down

0 comments on commit 02b9897

Please sign in to comment.