create table if not exists addresses ( id integer primary key, contact_id integer not null references contacts(id) on delete cascade, label text, value text not null );