:code used as unique identifier and  postgres db used instead of sqlite