postgreSQLで外部キーの指定

srcのidをdstのidに紐付ける

ALTER TABLE dst ADD CONSTRAINT FK_dst
FOREIGN KEY (id)
REFERENCES src(id);

2014/8/12
最終更新:2014年08月12日 18:51