mirror of
https://github.com/ilyakooo0/reshape.git
synced 2024-11-22 01:09:15 +03:00
Updated readme
This commit is contained in:
parent
539a06c8f8
commit
e6a097f906
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user