[Answered] Globally change GeneratedValue

0 votes
asked Jul 25, 2017 in Solved by ptermaten (390 points)
recategorized Sep 18, 2017 by ludek.vodicka

Hello,
Is it possible to make a global change so that GeneratedValue changes from IDENTITY to UUID for all Entities at once:

  • @ORM\GeneratedValue(strategy="UUID")

Thanks,
Peter

1 Answer

0 votes
answered Jul 25, 2017 by ludek.vodicka Skipper developer (140,450 points)
selected Sep 18, 2017 by ludek.vodicka
 
Best answer

Hi,
there is no "global" settings in Skipper. It's necessary to set it to each entity one-by-one.

But in case that you need this setting pre-configured for any new entity, you can update entity template (https://help.skipper18.com/expert-usage/customization/extending-templates/) so any new entity will have this ORM property filled

...