foreign key & unique implemented.