       having: count(p.id) > 1
   end
 
-  @spec ci_skip?(%Patch{}) :: boolean()
+  @spec ci_skip?(t) :: boolean()
   def ci_skip?(patch) do
     rexp =  ~r/\[ci skip\]\[skip ci\]\[skip netlify\]/
     title = patch.title || ""

      order_by: [desc: p.pr_xref]
  end

  def dups_in_batches do
    all = all_links_not_err()
    from p in Patch,


  use BorsNG.Database.Model

  @type t :: %__MODULE__{}
  @type id :: pos_integer

  schema "patches" do
