create table edges ( from_node_id int not null references nodes(node_id), to_node_id int not null references nodes(node_id), description varchar(32) -- other edge info goes here )