From f9980cee258976cd89b5edeaee57983104b9180f Mon Sep 17 00:00:00 2001 From: Vojtech Vitek Date: Fri, 9 Dec 2016 13:06:30 -0500 Subject: [PATCH] Fix int overflow on go 1.8-beta1 --- migrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrate.go b/migrate.go index a2e3a7f..b9474c3 100644 --- a/migrate.go +++ b/migrate.go @@ -14,7 +14,7 @@ var ( ErrNoCurrentVersion = errors.New("no current version found") ErrNoNextVersion = errors.New("no next version found") - MaxVersion = 9223372036854775807 // max(int64) + MaxVersion int64 = 9223372036854775807 // max(int64) goMigrations []*Migration )