create user docspell with password 'docspell' login createdb; create schema docspell; grant all privileges on all tables in schema docspell to docspell; grant all privileges on all sequences in schema docspell to docspell; create database DOCSPELL owner docspell;