How to fix ERROR: cannot truncate a table referenced in a foreign key constraint in PostgreSQL | DevErrors