     # assert that mnesia started correctly everywhere?
     :rpc.multicall(nodes, :mnesia, :start, [])
 
-    generic_table_def = [attributes: WrappedJob.record_fields(),
-                         record_name: WrappedJob.record_name()]
+    generic_table_def =
+      table_opts
+      |> Keyword.merge([attributes: WrappedJob.record_fields(),
+                       record_name: WrappedJob.record_name()])
 
     # inspect/1 here becase queue_name can be of the form {:global, poolname}
     table = ["honeydew", inspect(queue_name)] |> Enum.join("_") |> String.to_atom


    state = %PState{table: table,
                    in_progress_table: in_progress_table,
                    access_context: access_context(opts)}

    :ok = reset_after_crash(state)


  end

  @impl true
  def init(queue_name, table_opts) do
    nodes = nodes_list(table_opts)

    if on_disk?(table_opts) do
      case :mnesia.create_schema(nodes) do
        :ok -> :ok
        {:error, {_, {:already_exists, _}}} -> :ok
