Uplicate key value violates unique constraint loopback

This article is tagged with: Uplicate key value violates unique constraint loopback and mysql

uplicate key value violates unique constraint loopback

/*If you created the table product with an id column,
then the sequence is not simply called product,
but rather product_id_seq (that is, ${table}_${column}_seq).
This is the ALTER SEQUENCE command you need: */
ALTER SEQUENCE users_id_seq RESTART WITH 1453;

This article is tagged with: Uplicate key value violates unique constraint loopback and mysql