serialized_attributes has been deprecated in rails/rails#15704
Use timestamps with null: false