     end)
   end
 
-  @spec put_primary_key(Changeset.t) :: Changeset.t
-  defp put_primary_key(changeset) do
-    put_change(changeset, :process_id, PK.generate([0x0005, 0x0000, 0x0000]))
-  end
-
   @spec put_defaults(Changeset.t) :: Changeset.t
   defp put_defaults(changeset) do
     cs =

  @opaque id :: PK.t

  @primary_key false
  schema "processes" do
    field :process_id, PK,
      primary_key: true

        do: [],
        else: [process_data: "invalid value"]
    end)
    |> put_defaults()
    |> changeset(params)
    |> server_to_process_map()
