foreignKeyAction
Function: foreignKeyAction()
foreignKeyAction(
policy):ForeignKeyAction
Defined in: packages/sql-schema/src/metadata.ts:193
ON DELETE of the foreign key of a reference column, from the delete policy of its relation
NONE keeps the NO ACTION the references always had: the database still refuses to delete a referenced row.
Parameters
policy
DeletePolicy | undefined
the delete policy
Returns
the SQL action