iermb / SIMBA3

1 stars 0 forks source link

Unique constraint of multiple attributes (doctrine ORM) #14

Closed metathairs closed 3 years ago

metathairs commented 3 years ago

@jordillobet https://github.com/iermb/SIMBA3/blob/5fd202e0cb264ecce431ff776b9646c8151b267a/code/SIMBA3/src/Api/Persistence/Migrations/Variable/Entity.TypeArea.orm.xml#L15

I found this specification for creating unique constraint. Though it seams working only for mongodb ODM implementation.