Added null option to foreign keys