Fix false-success bugs in Studio table editor (FK constraints + CSV import)
The user has submitted a pull request to fix bugs in the Supabase Studio table editor. These bugs caused false-success messages when foreign key constraints failed or during CSV imports. The PR ensures errors are properly reported and includes tests for these cases.