[Solar-talk] _hasOne Help

Rodrigo Moraes rodrigo.moraes at gmail.com
Wed Nov 14 12:29:16 CST 2007


On Nov 14, 2007 4:21 PM, Kilbride, James P. wrote:
> Does that actually do it or does the auto-create, if it occurs, always
> add id regardless? When I was looking through the model code some time
> back(0.28.0 admittedly) it looked like model always added id to the
> columns if it was already there.

this works already in the new model (Solar 1.0.0alpha1). in 0.28.0 and
before, the behavior was perhaps different for the primary col, and
certainly different for 'created' and 'updated' (now they are not
obligatory and need to be declared).

-- rodrigo


More information about the Solar-talk mailing list