Set attributes to NULL when remove attachment

Hi, 

We changed the removed values to NULL because column file_size is of type integer and column updated_at is of type timestamp and setting them to '' results in an error.

Hope this gets merged soon! :smiley_cat: