Please remove ids from all your seeds inserts, since you are using sequences, if you insert with explicit ids, you are not using the sequence. Later when you call the post api it will through a pk uniqueness violations.
Type of change
Please delete options that are not relevant.
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
How Has This Been Tested ?
If you try posting a role for the first few times (exactly 3 times) it will fail throwing a primary key violation. After the fix, post request works fine from first attempt. BTW I haven't test others, but I am assuming the same behavior will occur before the fix, since you are using sequence for tenants and users.
Description
Please remove ids from all your seeds inserts, since you are using sequences, if you insert with explicit ids, you are not using the sequence. Later when you call the post api it will through a pk uniqueness violations.
Type of change
Please delete options that are not relevant.
How Has This Been Tested ?
If you try posting a role for the first few times (exactly 3 times) it will fail throwing a primary key violation. After the fix, post request works fine from first attempt. BTW I haven't test others, but I am assuming the same behavior will occur before the fix, since you are using sequence for tenants and users.