From 9672719428b0255197b1dff81588aa6011e03635 Mon Sep 17 00:00:00 2001 From: Will Eaton Date: Wed, 27 Mar 2024 14:00:15 -0400 Subject: [PATCH] make public (#321) --- refinery_core/src/runner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/refinery_core/src/runner.rs b/refinery_core/src/runner.rs index 87cd00df..2e6d2143 100644 --- a/refinery_core/src/runner.rs +++ b/refinery_core/src/runner.rs @@ -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, @@ -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; }