By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version |
|---|
| PostgreSQL 13.7 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-10), 64-bit |
1 rows affected
ERROR: duplicate key value violates unique constraint "tasks_type_id_just_1_unique"
DETAIL: Key (users_types_id, brand_id)=(2, 112) already exists.
1 rows affected
| id | inserted_at | updated_at | users_types_id | brand_id | tasks_type_id |
|---|---|---|---|---|---|
| 1 | 2022-05-19 04:47:25.357178 | 2022-05-19 04:47:25.357178 | 2 | 112 | null |
| 3 | 2022-05-19 04:47:25.359764 | 2022-05-19 04:47:25.359764 | 3 | 112 | null |