Fix branch in db migration scripts

Fixes bug 1190942

Change-Id: I9eea3988518694922130992b547dc19768e0d005
Merge "Fix branch in db migration scripts"