| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -10,7 +10,7 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# | 
					 | 
					 | 
					 | 
					# | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					# It's strongly recommended that you check this file into your version control system. | 
					 | 
					 | 
					 | 
					# It's strongly recommended that you check this file into your version control system. | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					ActiveRecord::Schema[7.0].define(version: 2022_09_20_132907) do | 
					 | 
					 | 
					 | 
					ActiveRecord::Schema[7.0].define(version: 2022_09_21_154025) do | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  # These are extensions that must be enabled in order to support this database | 
					 | 
					 | 
					 | 
					  # These are extensions that must be enabled in order to support this database | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  enable_extension "plpgsql" | 
					 | 
					 | 
					 | 
					  enable_extension "plpgsql" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -230,7 +230,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_09_20_132907) do | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.bigint "location_id" | 
					 | 
					 | 
					 | 
					    t.bigint "location_id" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.integer "major_repairs_date_value_check" | 
					 | 
					 | 
					 | 
					    t.integer "major_repairs_date_value_check" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.integer "void_date_value_check" | 
					 | 
					 | 
					 | 
					    t.integer "void_date_value_check" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.integer "housingneeds_type" | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.integer "housingneeds_other" | 
					 | 
					 | 
					 | 
					    t.integer "housingneeds_other" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.index ["created_by_id"], name: "index_lettings_logs_on_created_by_id" | 
					 | 
					 | 
					 | 
					    t.index ["created_by_id"], name: "index_lettings_logs_on_created_by_id" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.index ["location_id"], name: "index_lettings_logs_on_location_id" | 
					 | 
					 | 
					 | 
					    t.index ["location_id"], name: "index_lettings_logs_on_location_id" | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -326,6 +325,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_09_20_132907) do | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.integer "ownershipsch" | 
					 | 
					 | 
					 | 
					    t.integer "ownershipsch" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.integer "jointpur" | 
					 | 
					 | 
					 | 
					    t.integer "jointpur" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.string "othtype" | 
					 | 
					 | 
					 | 
					    t.string "othtype" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    t.integer "companybuy" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" | 
					 | 
					 | 
					 | 
					    t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id" | 
					 | 
					 | 
					 | 
					    t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id" | 
					 | 
					 | 
					 | 
					    t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id" | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |