File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,12 @@ func (mf *MigrationFiles) ToLastFrom(version uint64) (Files, error) {
101
101
102
102
// From travels relatively through migration files.
103
103
//
104
- // +1 will fetch the next up migration file.
104
+ // +1 will fetch the next up migration file
105
105
// +2 will fetch the next two up migration files
106
- // -1 will fetch the the current down migration file
107
- // -2 will fetch the current down and the next down migration file
106
+ // +n will fetch ...
107
+ // -1 will fetch the the previous down migration file
108
+ // -2 will fetch the next two previous down migration files
109
+ // -n will fetch ...
108
110
func (mf * MigrationFiles ) From (version uint64 , relativeN int ) (Files , error ) {
109
111
var d direction.Direction
110
112
if relativeN > 0 {
You can’t perform that action at this time.
0 commit comments