dm_rm_fk: Remove the reference(s) from one dm table to another
Description
This 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.
Usage
dm_rm_fk(dm, table, column, ref_table)
Arguments
dm
A dm object.
table
A table in the dm.
column
The column of table that should no longer be referencing the primary key of ref_table.
If NULL, all columns will be evaluated.
ref_table
The table that table was referencing.
Value
An updated dm without the given foreign key relation.