Supabase clone with new id
When I am trying to clone a record and hit save I get the error
duplicate key value violates unique constraint "contract_pkey"
There was an error creating contract (status code: 23505)
because it is trying to use the id of the original record as the id of the new record. How can I change this so that it will post the new record without the id so that supabase can dynamically generate an id?
duplicate key value violates unique constraint "contract_pkey"
There was an error creating contract (status code: 23505)
because it is trying to use the id of the original record as the id of the new record. How can I change this so that it will post the new record without the id so that supabase can dynamically generate an id?
