Skip to content

Commit

Permalink
Fix migration error
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie-cluml authored and minshao committed Dec 21, 2024
1 parent 61daf7b commit 51301e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and
this project adheres to [Semantic
Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixed

- Corrected the migration failure issue. The previous version, 0.33.0, needs to
be yanked due to this issue.

## [0.33.0] - 2024-12-12

### Changed
Expand Down Expand Up @@ -740,6 +747,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
- Modified `FtpBruteForce` by adding an `is_internal` field which is a boolean
indicating whether it is internal or not.

[Unreleased]: https://github.com/petabi/review-database/compare/0.33.0...main
[0.33.0]: https://github.com/petabi/review-database/compare/0.32.0...0.33.0
[0.32.0]: https://github.com/petabi/review-database/compare/0.31.0...0.32.0
[0.31.0]: https://github.com/petabi/review-database/compare/0.30.0...0.31.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "review-database"
version = "0.33.0"
version = "0.33.1-alpha.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/migration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use crate::{Agent, AgentStatus, Giganto, Indexed, IterableMap};
/// // the database format won't be changed in the future alpha or beta versions.
/// const COMPATIBLE_VERSION: &str = ">=0.5.0-alpha.2,<=0.5.0-alpha.4";
/// ```
const COMPATIBLE_VERSION_REQ: &str = ">=0.33.0,<0.34.0-alpha";
const COMPATIBLE_VERSION_REQ: &str = ">=0.30.0,<0.34.0-alpha";

/// Migrates data exists in `PostgresQL` to Rocksdb if necessary.
///
Expand Down

0 comments on commit 51301e0

Please sign in to comment.