Skip to content

Commit

Permalink
Merge branch 'main' into enum_migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
jxs authored Mar 28, 2024
2 parents 7101b6c + 9672719 commit a788da9
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 @@ -104,7 +104,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 @@ -123,7 +123,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 a788da9

Please sign in to comment.