foreign key definition sql

pre: stream generate
next: project manager product manager