QUERY PLAN
Delete on tbl_invoices (cost=0.00..21.00 rows=4 width=6)
-> Seq Scan on tbl_invoices (cost=0.00..21.00 rows=4 width=6)
Filter: (project_id = 1)