Mujir,Sush | #983 | added db migration script to create privileges. Earlier this was happening on tomcat start