From 029b33c6508b9f320300e68e38184b2eb17ee1d5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 25 Jun 2018 20:33:21 +0800 Subject: [PATCH] restore: ignore created_unix for milestone table (#5264) --- models/models.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/models/models.go b/models/models.go index 4392bb764..f0f63e072 100644 --- a/models/models.go +++ b/models/models.go @@ -300,7 +300,8 @@ func ImportDatabase(dirPath string, verbose bool) (err error) { snakeMapper := core.SnakeMapper{} skipInsertProcessors := map[string]bool{ - "mirror": true, + "mirror": true, + "milestone": true, } // Purposely create a local variable to not modify global variable