create table relationships