From d10e0e5458351deddeab9dd2bafbbdcf0e6decc9 Mon Sep 17 00:00:00 2001 From: Vojtech Vitek Date: Tue, 20 Jun 2017 15:00:29 -0400 Subject: [PATCH] Fix panic --- migrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrate.go b/migrate.go index 131f29b..197f7f2 100644 --- a/migrate.go +++ b/migrate.go @@ -18,7 +18,7 @@ var ( // MaxVersion is the maximum allowed version. MaxVersion int64 = 9223372036854775807 // max(int64) - registeredGoMigrations map[int64]*Migration + registeredGoMigrations = map[int64]*Migration{} ) // Migrations slice.