Closed victor-schumacher closed 4 years ago
Since its category is a foreign key constraint
16:47:41 pq: insert or update on table "riders" violates foreign key constraint "riders_category_id_fkey"
Thats because to update, the category should exist.
Since its category is a foreign key constraint
16:47:41 pq: insert or update on table "riders" violates foreign key constraint "riders_category_id_fkey"