There where some database considerations in previouse documentation of agiletoolkit, that I can't find anymore. Have those changed? For example are booleans still needed to be enum('Y','N')??
Asked
Active
Viewed 52 times
1 Answers
0
With 4.2 you can choose the boolean "style", so if you have an old project that uses 'Y','N' enums you could simply fix the definition in the field declaration by chaining ->enum(array('Y','N'))

The Elter
- 235
- 1
- 9
-
I'm not sure I understood. What I want is to start a new application, and I don't know how to set up teh new database, is real boolean possible now? or should I still keep with the Y/N? – mcanedo Jun 06 '12 at 18:18
-
The real boolean is possible now, the dsql translate the tru/false value in the appropriate representation in the db. If you want to enumerate the boolean with two strings you can use the syntax exposed above. Check here http://agiletoolkit.org/doc/modeltable/fields – The Elter Jun 07 '12 at 06:51