Skip to content

Commit

Permalink
feat: add migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko committed Apr 20, 2024
1 parent 39b15a8 commit f0c4b0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eidash/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ async fn main() -> anyhow::Result<()> {
.init();

let db = create_db().await;
sqlx::migrate!("../migrations").run(&*db).await?;

let oidc_client = Arc::from(
create_oidc_client(
CONFIG.oidc_issuer.clone(),
Expand Down

0 comments on commit f0c4b0a

Please sign in to comment.