[Solved] Propel - setting array or enum values to a field?

0 votes
asked Jun 6, 2013 in Solved by Matt (510 points)
recategorized Jun 6, 2013 by ludek.vodicka

Probably overlooking something, but I can not seem to find how to set the default value set for an ARRAY or ENUM type? The following should be generated by XML export:

<column name="style" type="ENUM" valueSet="novel, essay, poetry" />

Where and how do I set "novel, essay, poetry" in ORM Designer ?

1 Answer

0 votes
answered Jun 6, 2013 by Matt (510 points)
 
Best answer

I need more coffee :-)
I was looking at the right column Properties menu,
but it can easily be done in the Entity Editor screen.

commented Jun 6, 2013 by ludek.vodicka Skipper developer (140,450 points)

You're right. The entity editor is currently the only place where you can set this value.
We have a plan to add the ability to edit these values also directly from properties like in original v1 version.

...