@primary_key false vs @primary_key {:id, :id, []}

I am wondering what is the difference between using

@primary_key {:id, :id, []}
schema "items" do
end

and

@primary_key false
schema "items" do
    field :id, :id, primary_key: true
end

There should be no difference.

3 Likes