Change the 'double' data type to Double to allow null values