Add scripts for db upgrade
Merge branch 'master' into groups_and_roles_together
Upgrade table definition
Add sql scripts