10 lines
271 B
Plaintext
10 lines
271 B
Plaintext
|
add_foreign_key("room_restrictions", "room_id", {"rooms": ["id"]}, {
|
||
|
"on_delete": "cascade",
|
||
|
"on_update": "cascade",
|
||
|
})
|
||
|
|
||
|
add_foreign_key("room_restrictions", "restriction_id", {"restrictions": ["id"]}, {
|
||
|
"on_delete": "cascade",
|
||
|
"on_update": "cascade",
|
||
|
})
|