correct database.yaml restrictions