📜  PostgreSQL 外键约束语法 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:21.998000             🧑  作者: Mango

代码示例1
[CONSTRAINT fk_name]
   FOREIGN KEY(fk_columns) 
   REFERENCES parent_table(parent_key_columns)
   [ON DELETE delete_action]
   [ON UPDATE update_action]
Code language: CSS (css)