From 85a0c8b565d000169e01ae4dc6fa75f0facbaa13 Mon Sep 17 00:00:00 2001 From: Liam Staskawicz Date: Sun, 6 Jan 2013 22:12:39 -0800 Subject: [PATCH] remove obsolete version comparison --- migrate.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/migrate.go b/migrate.go index 91795a6..59d6938 100644 --- a/migrate.go +++ b/migrate.go @@ -120,11 +120,6 @@ func collectMigrations(dirpath string, current, target int64) (mm *MigrationMap, func versionFilter(v, current, target int64) bool { - // special case - default target value - if target < 0 { - return v > current - } - if target > current { return v > current && v <= target }