Thanks, that did the trick.
On Fri, Jul 27, 2012 at 5:25 PM, Niphlod <[email protected]> wrote:
> Massimo is right, but you're having the error for another reason.
>
> it's plain and clear (*Variables* section). You are also lucky that in
> all of this statement there is only one dot.
>
> ('ALTER TABLE rsvp_list ADD event_id INTEGER REFERENCES db.event (id) ON
> DELETE CASCADE;',)
>
> you have
>
> Field('event_id', 'reference db.event'
>
> that needs to be
>
>
> Field('event_id', 'reference event'
>
>
> On Friday, July 27, 2012 8:01:43 AM UTC+2, Alec Taylor wrote:
>>
>> On Friday, July 27, 2012 6:45:04 AM UTC+10, Massimo Di Pierro wrote:
>>>
>>> Person cannot be not null and default to auth.user_id which likely is
>>> null.
>>>
>>> It also cannot defaul to auth.user.
>>>
>>> Use the second line and remove notnull
>>>
>> Thanks, but that gave me the same error.
>>
>> Full ticket:
>> http://jsfiddle.net/**FG4pC/show/light/<http://jsfiddle.net/FG4pC/show/light/>
>>
>>
> --
>
>
>
>
--