소스 검색

restore: ignore created_unix for milestone table (#5264)

Unknwon 6 년 전
부모
커밋
029b33c650
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      models/models.go

+ 2 - 1
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