dm
table to anotherThis function can remove either one reference between two tables, or all references at once, if argument column = NULL
.
All arguments may be provided quoted or unquoted.
cdm_rm_fk(dm, table, column, ref_table)
A dm
object.
A table in the dm
.
The column of table
that should no longer be referencing the primary key of ref_table
.
If NULL
, all columns will be evaluated.
The table that table
was referencing.
Other foreign key functions:
cdm_add_fk()
,
cdm_enum_fk_candidates()
,
cdm_get_all_fks()
,
cdm_get_fk()
,
cdm_has_fk()