lundi 2 juillet 2018

Integrity Error at /some-path/ . duplicate key value violated unique constraint

My database is presently Empty

Empty Admin panel Pic

But When i try to create some object I get following error.

Error Picture

I think the problem is with sequence . I searched many solutions on Internet But none of the answer works.

The table and sequence is :

Table name and Sequence name

When I do select all query on database. 0 rows are returned.

Output of Select all query

My Sequence return following output.

Sequence Output

Can Anyone help please . This problem came after is flushed the database and tried to start new db with migrations. This problem also comes in Another model as follows.

**Iknow Its not a good r in scenario.

Aucun commentaire:

Enregistrer un commentaire