Skip to content

Commit 9672719

Browse files
authored
make public (#321)
1 parent 1e2411c commit 9672719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

refinery_core/src/runner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl Migration {
125125
}
126126

127127
// Create a migration from an applied migration on the database
128-
pub(crate) fn applied(
128+
pub fn applied(
129129
version: i32,
130130
name: String,
131131
applied_on: OffsetDateTime,
@@ -144,7 +144,7 @@ impl Migration {
144144
}
145145

146146
// convert the Unapplied into an Applied Migration
147-
pub(crate) fn set_applied(&mut self) {
147+
pub fn set_applied(&mut self) {
148148
self.applied_on = Some(OffsetDateTime::now_utc());
149149
self.state = State::Applied;
150150
}

0 commit comments

Comments
 (0)