Skip to content

Commit

Permalink
fix db version warning because of 0.28 nightly (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebadob authored Jan 6, 2025
1 parent 29f5202 commit 31da607
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ https://github.com/sebadob/rauthy/releases/tag/v0.27.0
}
};

// TODO remove this block check with the next minor version.
// TODO remove this block check after `0.28`.
// 0.27.0 had a bug that could have inserted NULL for password policy on update.
if is_hiqlite() {
let mut row = DB::client()
Expand Down
2 changes: 1 addition & 1 deletion src/models/src/entity/db_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl DbVersion {
) -> Result<(), ErrorResponse> {
// this check panics on purpose, and it is there to never forget to adjust this
// version check before doing any major or minor release
if app_version.major != 0 || app_version.minor != 27 {
if app_version.major != 0 || app_version.minor != 28 {
panic!(
"\nDbVersion::check_app_version needs adjustment for the new RAUTHY_VERSION: {}",
RAUTHY_VERSION
Expand Down

0 comments on commit 31da607

Please sign in to comment.