Set ContactType.name as required in the schema.
authoreileen <emcnaughton@wikimedia.org>
Mon, 8 Jun 2020 04:50:49 +0000 (16:50 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 10 Jun 2020 02:58:05 +0000 (14:58 +1200)
commit351e8d470a95e1a610280731706c816033fb79fa
tree7450467e81da734b68bc0878b8693f9454cd547e
parent7c907de0574a3fd76aacc9264d5fbbef54f33b8f
Set ContactType.name as required in the schema.

I came across this weird WHERE clause & I'm pretty sure it's compensating for a mistake in the schema

I also set what I think are sensible defaults on is_reserved & is_active
CRM/Admin/Form/ContactType.php
CRM/Contact/BAO/ContactType.php
CRM/Contact/DAO/ContactType.php
CRM/Upgrade/Incremental/sql/5.28.alpha1.mysql.tpl
sql/civicrm_generated.mysql
xml/schema/Contact/ContactType.xml