Feature: Create a base importer for geographical units and add index

This commit is contained in:
2022-10-03 15:45:42 +02:00
parent 994160f28a
commit 9c3ac72426
5 changed files with 359 additions and 3 deletions

View File

@@ -14,7 +14,9 @@ namespace Chill\MainBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="chill_main_geographical_unit")
* @ORM\Table(name="chill_main_geographical_unit", uniqueConstraints={
* @ORM\UniqueConstraint(name="geographical_unit_refid", columns={"unitRefId"})
* })
* @ORM\Entity(readOnly=true)
*/
class GeographicalUnit