upgrade does not check that collections exists. this can cause
issues when running upgrade before any data is inserted. this patch
creates collection on upgrade if it does not exist.
Change-Id: I1774d1c943050f1a87b386502392e18b0af8c840
Closes-Bug: #1434013