Don't add the id param in mysql query if it's an insert

I get this error on trying to insert into the DB otherwise:

[28-May-2013 20:01:47 UTC] WordPress database error Incorrect integer value: '' for column 'id' at row 1 for query INSERT INTO `wp_4_notify_events` (`id`,`slug`,`payload`,`remote_host`,`remote_ip`,`timestamp`) VALUES ('','cloudwatch','\"{\'Subject:\'Heloooo\'\'}\"',','2130706433','2013-05-28 20:01:47') made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, {closure}, HM_Rewrite::matched_regex, array_walk, HM_Rewrite::{closure}, HM_Rewrite_Rule->matched_rule, call_user_func_array, Notify_Humans_Of_Events->handle_notify_event, Notify_Event->save

Not sure if the Schema has changed, or this is a mysql versino thing?