Skip to content

Commit

Permalink
make public (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
wseaton authored Mar 27, 2024
1 parent 1e2411c commit 9672719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions refinery_core/src/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl Migration {
}

// Create a migration from an applied migration on the database
pub(crate) fn applied(
pub fn applied(
version: i32,
name: String,
applied_on: OffsetDateTime,
Expand All @@ -144,7 +144,7 @@ impl Migration {
}

// convert the Unapplied into an Applied Migration
pub(crate) fn set_applied(&mut self) {
pub fn set_applied(&mut self) {
self.applied_on = Some(OffsetDateTime::now_utc());
self.state = State::Applied;
}
Expand Down

0 comments on commit 9672719

Please sign in to comment.