Adding configuration and removing nullable=false from primary key