create unique partial indexes for nullable key columns