create table if not exists groups ( contact_id integer not null references contacts(id) on delete cascade, name text not null );