searching for availability for all rooms
This commit is contained in:
		@ -0,0 +1,2 @@
 | 
			
		||||
change_column("room_restrictions", "reservation_id", "integer", {"null": false})
 | 
			
		||||
 | 
			
		||||
@ -0,0 +1 @@
 | 
			
		||||
change_column("room_restrictions", "reservation_id", "integer", {"null": true})
 | 
			
		||||
@ -107,7 +107,7 @@ CREATE TABLE public.room_restrictions (
 | 
			
		||||
    start_date date NOT NULL,
 | 
			
		||||
    end_date date NOT NULL,
 | 
			
		||||
    room_id integer NOT NULL,
 | 
			
		||||
    reservation_id integer NOT NULL,
 | 
			
		||||
    reservation_id integer,
 | 
			
		||||
    restriction_id integer NOT NULL,
 | 
			
		||||
    created_at timestamp without time zone NOT NULL,
 | 
			
		||||
    updated_at timestamp without time zone NOT NULL
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user