anchor.diff:                 Object#Rec{created_at = Now,
                             updated_at = Now, last_updated_by = ActorId}).
   
  -?MAKE_SET_CREATED(pushy_node_status).
  +?MAKE_SET_CREATED(pushy_node_status);
  +?MAKE_SET_CREATED(pushy_job).
   
   %% CHEF_COMMON CARGO_CULT
   %% chef_db:sql_date/1
  
positive.code: %% @copyright 2012 Opscode, Inc.
  
  %% @doc General utility module for common functions that operate on
  %% "Chef Objects", such as nodes, roles, etc.
  -module(pushy_object).
  
  -include("pushy_sql.hrl").
  
negative.code:     #pushy_node_status{org_id = OrgId,
                        node_name = Name,
                        status = Status
                        };
  new_record(pushy_job, OrgId, NodeNames) ->
      Id = chef_db:make_org_prefix_id(OrgId),
      #pushy_job{id = Id,
                  org_id = OrgId,
                  status = ?JOB_STATUS_NEW,
                  job_nodes = [
                    {NodeName,
                      ?JOB_STATUS_NEW,
                      sql_date(now),
                      sql_date(now)} || NodeName <- NodeNames]
                  }.
  
  %% CHEF_COMMON CARGO_CULT
  
  