pub const RESTRICT: ColumnMarker;Expand description
RESTRICT: reject the delete or update while rows reference it.
ยงExamples
#[column(references = User::id, on_delete = RESTRICT)]
user_id: i32,pub const RESTRICT: ColumnMarker;RESTRICT: reject the delete or update while rows reference it.
#[column(references = User::id, on_delete = RESTRICT)]
user_id: i32,