udemy-go-web-1/migrations/20240706142334_create_indices_on_room_restrictions.up.fizz

4 lines
162 B
Plaintext
Raw Normal View History

add_index("room_restrictions", ["start_date", "end_date"], {})
add_index("room_restrictions", "room_id", {})
add_index("room_restrictions", "reservation_id", {})