postgresql sonar

-# create user sonar
;postgres-# alter user sonar with encrypted password 'sonar';
postgres-# create schema sonar;
postgres-# grant all privileges on schema sonar to sonar;
postgres-# grant all privileges on database sonar to sonar;
postgres-# create database sonar owner sonar;