Update activity::record_id from smallint to int