New database with primary and foreign key