Skip to content

Commit

Permalink
v2 list jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Feb 13, 2025
1 parent 2ea3bde commit 586044e
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 141 deletions.
10 changes: 5 additions & 5 deletions backend/windmill-api/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,11 @@ async fn fix_job_completed_index(db: &DB) -> Result<(), Error> {
.await?;
});

// run_windmill_migration!("v2_jobs_rls", &db, |tx| {
// sqlx::query!("ALTER TABLE v2_job ENABLE ROW LEVEL SECURITY")
// .execute(db)
// .await?;
// });
run_windmill_migration!("v2_jobs_rls", &db, |tx| {
sqlx::query!("ALTER TABLE v2_job ENABLE ROW LEVEL SECURITY")
.execute(db)
.await?;
});

Ok(())
}
Expand Down
Loading

0 comments on commit 586044e

Please sign in to comment.