From e6a097f906a990a0924b6c225e158ef86cc16187 Mon Sep 17 00:00:00 2001 From: iko Date: Mon, 13 Feb 2023 09:46:11 +0300 Subject: [PATCH] Updated readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 2995f29..60994c7 100644 --- a/README.md +++ b/README.md @@ -223,6 +223,8 @@ primary_key = ["id"] columns = ["user_id"] referenced_table = "users" referenced_columns = ["id"] + on_update = "restrict" + on_delete = "restrict" ``` #### Rename table @@ -265,6 +267,8 @@ table = "items" columns = ["user_id"] referenced_table = "users" referenced_columns = ["id"] + on_update = "restrict" + on_delete = "restrict" ``` #### Remove foreign key