We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e2411c commit 9672719Copy full SHA for 9672719
refinery_core/src/runner.rs
@@ -125,7 +125,7 @@ impl Migration {
125
}
126
127
// Create a migration from an applied migration on the database
128
- pub(crate) fn applied(
+ pub fn applied(
129
version: i32,
130
name: String,
131
applied_on: OffsetDateTime,
@@ -144,7 +144,7 @@ impl Migration {
144
145
146
// convert the Unapplied into an Applied Migration
147
- pub(crate) fn set_applied(&mut self) {
+ pub fn set_applied(&mut self) {
148
self.applied_on = Some(OffsetDateTime::now_utc());
149
self.state = State::Applied;
150
0 commit comments