New conditional index for schema_def records with a non-null current_host_id
New conditional index for schema_def records with a non-null current_host_id

jakefeasel/sqlfiddle3,jakefeasel/sqlfiddle3,jakefeasel/sqlfiddle3