Hi,
create an after delete trigger with
IF (SELECT 1 FROM t1 limit 1) is null THEN RAISE EXCEPTION 'Must keep at least 1 row'; ....
hthThomas