code: func (ssa *SQLStorageAuthority) NewRegistration(ctx context.Context, reg core.Registration) (core.Registration, error) {
  	reg.CreatedAt = ssa.clk.Now()
  	rm, err := registrationToModel(&reg)
  	if err != nil {
  		return reg, err
  	}
  	err = ssa.dbMap.WithContext(ctx).Insert(rm)
  	if err != nil {
  		return reg, err
  	}
  	return modelToRegistration(rm)
  }
docs: // NewRegistration stores a new Registration