stream generate

pre: sql set primary key
next: foreign key definition sql