On Tue, Jun 22, 2010 at 11:53 AM, jayabharath <jbhara...@gmail.com> wrote:

> Hi Victor,
>
> The actual problem is with the key field.
>
> Flights.pilot_id is set to INT NOT NULL and you had specified Pilots.id to
> INT NULL.
>
> You have to change both the columns to NULL or else NOT NULL to avoid the
> error.
>

Thanks.
V

Reply via email to