10 lines
227 B
Plaintext
10 lines
227 B
Plaintext
|
add_foreign_key("room_restrictions", "reservation_id", {"reservations": ["id"]}, {
|
||
|
"on_delete": "cascade",
|
||
|
"on_update": "cascade",
|
||
|
})
|
||
|
|
||
|
add_index("reservations", "email", {})
|
||
|
add_index("reservations", "last_name", {})
|
||
|
|
||
|
|