fix(database): correct permissions on pg config