comment left question foreign key is null how to use default key other
than null saved in database