Added foreign key contraints to the line_item model.