[symfony-users] Re: Fixtures - can I specify a literal value on a linked table?

2009-03-26 Thread djones
On Mar 25, 7:03 pm, Steve the Canuck wrote: > The reason I ran into this is because I have multiple fixture files. > I have some tables that are purely reference tables.  So, I don't use > autonumbering for those fields.  Also, these tables exist in a > different fixture file. > > I wanted to cre

[symfony-users] Re: Fixtures - can I specify a literal value on a linked table?

2009-03-25 Thread Steve the Canuck
Thanks, Lee, but it seems not, as I tried that. Accuracy is not a foreign key, but state_prov_id is. I looked at the propel task a bit, and it seems that if there is a map reference for the field, then it always looks for a label. The reason I ran into this is because I have multiple fixture fi

[symfony-users] Re: Fixtures - can I specify a literal value on a linked table?

2009-03-25 Thread Lee Bolding
On 25 Mar 2009, at 17:59, Steve the Canuck wrote: > I've got an entry in my fixture such as follows: > > Address: > Address_1: >state_prov_id: 36 > >accuracy: '8' > > This fails, because state_prov_id does not correspond to a labelled > entry called "36". However, I don't want it to us