Skip to content

Commit

Permalink
#342 Migrate database to force nested field mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Oct 24, 2017
1 parent 7d0e495 commit 69b7989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions thehive-backend/app/models/Migration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ class Migration(
val customFields = (caze \ "customFields").asOpt[JsObject].getOrElse(JsObject(Nil))
caze + ("metrics" metrics) + ("customFields" customFields)
})
case DatabaseState(10) Nil
}

private val requestCounter = new java.util.concurrent.atomic.AtomicInteger(0)
Expand Down
2 changes: 1 addition & 1 deletion thehive-backend/app/models/package.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@


package object models {
val modelVersion = 10
val modelVersion = 11
}

0 comments on commit 69b7989

Please sign in to comment.