Change to db
Merge branch 'mdm-scratch' of github.com:WSO2Mobile/mdm into mdm-scratch