first drop the view if exists, then alter constraint