VEry simple query to write

alter table jobs  add constraint FK_poster_is foreign key (`posted_by_id`) references Account(id)

Advertisements